What is the running time of an insertion sort algorithm if the input is…
PYQ IBM Hiring Assessment 2024
What is the running time of an insertion sort algorithm if the input is pre-sorted?
- A.
O(N^2)
- B.
O(N log N)
- C.
O(N)
- D.
O(M log N)
Attempted by 585 students.
Sign up free to check your answer
Sign up freeLoading lesson…

