Aspire Faculty ID #17027 · Topic: AMU MCA 2022 · Just now
AMU MCA 2022

You want to check whether a given set of items is sorted or not. Which sorting method will be most efficient if it is already sorted?

Solution

Insertion sort runs in O(n) for already sorted data.

Previous 10 Questions — AMU MCA 2022

Nearest first

Next 10 Questions — AMU MCA 2022

Ascending by ID
Ask Your Question or Put Your Review.

loading...