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 would you sort a linked list?

Answer Posted / sdfg

write an insert in order function where it traverse the list until it finds a greater element and put it before it.
create a new list and insert all items in the old list to the new list using the InsertInOrder function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the data structures which are used in rdbms, network data modal, and hierarchical data model.

845


Define articulation point?

1088


Which is the simplest file structure? (a) Sequential (b) Indexed (c) Random (a) Sequential

1082


What are different types of sorting techniques?

887


List the data structures which are used in network data modal.

835


Can treemap have null values?

852


Why are b trees used?

817


How does arraylist store data?

901


What do u mean by array?

880


How does a treemap work?

944


Explain binary representation?

826


Calculate the address of a random element present in a 2d array, given base address as ba.

1463


Describe linear probing with an example.

937


Which interfaces are implemented by abstractqueue?

868


Is binary tree a binary search tree?

805