Idea of Efficiency and Recursion — Computer Science STD 12 Science — Question
CBSE BoardEnglish MediumSTD 12 ScienceComputer ScienceIdea of Efficiency and Recursion2 Marks
Question
What are the best case and worst case in sorting techniques?
✓
Answer
When the array or list is in ascending order and we are arranging the data in the same order then that is the best case. When the array or list is in ascending order, and we are arranging the data in reverse order, i.e. descending order or vice-versa then it is the worst case.
Need a full question paper?
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.