Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can one find a cycle in the linked list? IF found how
to recognize the cycle and delete that cycle?

Answer Posted / monti

Well, Answer-3 is correct but only for link list of type 'O'
but it fails for link list of type '9' (which also have a
circle). So to cover up all possibilities answer 2 should be
followed.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define ancestor and descendant ?

1102


What are stacks? Give some of its applications.

1042


When should structures be passed by values or by reference?

1070


What is time complexity of sorting algorithms?

984


What is the difference between array and list?

959


Why is hashset not ordered?

1045


What are different sorting algorithms?

986


How many parts are there in a declaration statement using data structures?

1061


How can you implement a stack?

1122


What is the complexity of selection sort?

894


What are the disadvantages of using collection classes over arrays?

1121


Write an algorithm through which the inserting and deleting of elements can take place in circular queue?

1263


How to sort an Array?

952


How is hashmap o 1?

901


Define double linked list?

1010