Advertisements
Advertisements
Question
An array with 3 elements is arranged in ascending order as follows:

Name the technique used:
Options
Bubble sort
Linear Search
Selection sort
Binary Search
MCQ
Advertisements
Solution
Bubble sort
Explanation:
Bubble sort repeatedly compares adjacent elements and swaps them if they are out of order. The diagram shows adjacent swaps (4↔1, then 4↔3) until the array is sorted in ascending order, which is the characteristic behaviour of bubble sort.
shaalaa.com
Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
