Sort And Searching Question: Download Questions PDF
What is Range search?
![Sort And Searching Interview Answer Sort And Searching Interview Question](https://globalguideline.com/public/images/interview/22.png)
Answer:
Given a database of all tolls collected in NJ road system, devise a scheme to answer queries of the form: extract sum of all tolls collected in a given time interval. Use a Toll data type that implements the Comparable interface, where the key is the time that the toll was collected.
Download Sort And Searching Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know why doesn't the Java library use a randomized version of quicksort? | What is Bitonic search? |