COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Data Search
|
|
Processor Speed
|
|
Multiple Request
|
|
None of the above
|
Detailed explanation-1: -Correctness − Data structure implementation should implement its interface correctly. Time Complexity − Running time or the execution time of operations of data structure must be as small as possible. Space Complexity − Memory usage of a data structure operation should be as little as possible.
Detailed explanation-2: -Which data structure is most efficient to find the top 10 largest items out of 1 million items stored in file? Explanation: Min heap of size 10 is sufficient to find the top 10 largest items.
Detailed explanation-3: -As data grows, search will become slower. One of the three common problems that applications face now-a-days. Processor speed although being very high, falls limited if the data grows to billion records.
Detailed explanation-4: -Which among the following data structures is best suited for storing very large numbers (numbers that cannot be stored in long long int). Following are the operations needed for these large numbers. Explanation: The only two choices that make sense are Array and Linked List.