Computer Science · Data Structures and Algorithms - Sorting
Arrange the following sequence of elements in ascending order using Bubble Sort: 37, 54, 21, 85, 68, 12, 9, 57. What is the intermediate sequence obtained exactly after the second complete pass?
- 121, 37, 12, 9, 54, 57, 68, 85
- 237, 21, 54, 68, 12, 9, 57, 85
- 321, 12, 9, 37, 54, 57, 68, 85
- 421, 37, 54, 12, 9, 57, 68, 85✓
Correct answer
21, 37, 54, 12, 9, 57, 68, 85
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures and Algorithms - Sorting?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures and Algorithms - Sorting