Computer Science, asked by justheretocopy, 9 months ago

Write the resultant array after 3 pass of Bubble sort: [1]
{ 34, 76, 12, 89, 22, 66, 3}

Answers

Answered by StephenDeva
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