is there a free web resource that gives a quick list of ‘Which data structure uses which sorting alorithm’?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It really depends on the programming language. Just assume that all data structures use the best sorting algorithm possible.
Trees are generally faster for searching and sorting (they often sort as they go, like a BST or red-black tree). Lists are generally pretty lame. Array structures generally use something like quick-sort for their sorting.
Do you have a specific application that needs to be super fast? Post that and someone could suggest the best data-structure. It really depends on the language, but you can generally assume that the people who designed the structures did it in the most efficient way possible.