Computer Science · Data Structures and Algorithms
Arrange the following problems/algorithms in the correct order of their increasing worst-case time complexities: A. Tower of Hanoi with n disks B. Binary search given n sorted numbers C. Heap sort given n numbers D. Addition of two n × n matrices Choose the correct answer from the options given below:
- 1B, C, D, A✓
- 2A, B, C, D
- 3D, C, B, A
- 4C, A, D, B
Correct answer
B, C, D, A
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures and Algorithms?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures and Algorithms