Medium
If we have a list of unsorted elements and we want the cost of accessing the elements to be as low as possible, what is the best structure that can contain these elements?
Author: KahinaStatus: PublishedQuestion passed 180 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
9
What is recursion?7
What is special about quick sort?3
What about the merge sort method?2
What is the complexity of this algorithm?6
What type of structure are the results of a recursive function stored in?2
Given an array of 17 elements sorted in ascending order, what is the cost of accessing the element with index 10?5
What does the While loop do?