Davinder Singh - 4 years ago in Data Structure

The number of swapping needed to sort numbers 8,22,7,9,31,19,5,13 in ascending order using bubble sort is ?

[A] 11
[B] 12
[C] 13
[D] 14
Loading...

Answers

Guest

Related Questions

Davinder Singh - 4 years ago in Data Structure
The initial configuration of the queue is a,b,c,d (a is the front end). To get the configuration d,c,b,a one needs a minimum of ?
  • [A] 2 deletions and 3 additions
  • [B] 3 additions and 2 deletions
  • [C] 3 deletions and 3 additions
  • [D] 3 deletions and 4 additions