1 votes 1 votes Bubble sort is used to sort the following sequence of numbers: $7 5 3 1 2 9$. What will the sequence be after the 2$^{nd}$ iteration? $1$ $2$ $3$ $5$ $7$ $9$ $3$ $1$ $2$ $5$ $7$ $9$ $5$ $3$ $1$ $2$ $7$ $9$ $3$ $5$ $7$ $1$ $2$ $9$ GATE tbb-mockgate-3 algorithms sorting + – Bikram asked Feb 9, 2017 • retagged Sep 15, 2020 by ajaysoni1924 Bikram 205 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes Initial sequence: 7 5 3 1 2 9 After first iteration: 5 3 1 2 7 9 After second iteration: 3 1 2 5 7 9 Lucky sunda answered Feb 10, 2017 • selected Feb 10, 2017 by Bikram Lucky sunda comment Share Follow See all 0 reply Please log in or register to add a comment.