Which of the following is associated with the highest time complexity? (i).…
Which of the following is associated with the highest time complexity?
(i). Permutations of a string.
(ii). Towers of Hanoi
(iii). Matrix multiplication
(iv). Finding an element in a binary search tree
- A.
(i) > (ii) > (iii) > (iv)
- B.
(iv) > (iii) > (ii) > (i)
- C.
(ii) > (i) > (iii) > (iv)
- D.
(i) > (ii) > (iv) > (iii)
Attempted by 289 students.
Sign up free to check your answer
Sign up freeLoading lesson…

