Question
Difference between best case and worst case scenario concerning sorting techniques.

Answer

Best case is when the array is sorted in that order, in which we required the array. For example, if we need array elements in ascending order and all the elements of the array is in ascending order.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free