Answer Posted / bharath
on avg qsort is O(n) and worst is n^2;
msort is O(nlogn) for all
hsort is same as msort
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Define a binary search tree?
What are the applications of priority queues?
Can treeset contain null?
Should I use hashmap or hashtable?
How would you use bsearch() function to search a name stored in array of pointers to string?
What are the difference between a stack and a queue?
Can arraylist store objects?
What is queue in data structure?
What is data structure what is need of it?
Why do we use sorting?
What is array and string?
If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?
Can arraylist be resized?
What is the main advantage of a linked list?
Program to remove duplicate elements in an array.