Aspire Faculty ID #12708 · Topic: JECA MCA 2024 · Just now
JECA MCA 2024

Which sorting algorithm is most efficient if elements are already in sorted order ?

Solution

Solution: Insertion sort runs in O(n) when input is already sorted.
Answer: (C)

Previous 10 Questions — JECA MCA 2024

Nearest first

Next 10 Questions — JECA MCA 2024

Ascending by ID
Ask Your Question or Put Your Review.

loading...