Data Structures

1:

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

A.

11

B.

12

C.

13

D.

14

 

Answer : D

Explanation :

pavittar said: (9:18pm on Monday 13th May 2013)
13 answer correcrt plz tell how 14 swappings
Vijay Singh said: (9:12pm on Wednesday 24th July 2013)
Is there any formula for this? plz comment.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.