Write the resultant array after 3 pass of Bubble sort: [1]
{ 34, 76, 12, 89, 22, 66, 3}
Answers
Answered by
0
Answer:
{12, 22, 34, 3, 66, 76, 89}
Explanation:
First pass : {34, 12, 76, 22, 66, 3, 89}
Second pass : {12, 34, 22, 66, 3, 76, 89}
Third pass : {12, 22, 34, 3, 66, 76, 89}
Similar questions
Hindi,
4 months ago
Social Sciences,
4 months ago
Physics,
4 months ago
Math,
9 months ago
Hindi,
9 months ago
Political Science,
1 year ago