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

  1. A.

    (i) > (ii) > (iii) > (iv)

  2. B.

    (iv) > (iii) > (ii) > (i)

  3. C.

     (ii) > (i) > (iii) > (iv)

  4. D.

     (i) > (ii) > (iv) > (iii)

Attempted by 289 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…