The number of swapping needed to sort numbers 8,22,7,9,31,19,5,13 in ascending order using bubble sort is ?
Serkie Mekonnen from Dessie, Ethiopia is saying 11 is correct answer
Marem Husen from Al Musayyib, Iraq is saying 14 is correct answer
deepak kumar is saying 11 is correct answer
Uga Balu from Chennai, India is saying 12 is correct answer
uma from Hindupur, India is saying 13 is correct answer
- [A] a network adapter to other devices on the network
- [B] the manufacturer of a computer
- [C] the physical location of a computer
- [D] none of the above
Given two sorted lists of size m and n respectively.The number of comparisons needed in the worst case by the merge sort algorithm will be?
- [A] mn
- [B] max(m,n)
- [C] min(m,n)
- [D] m+n-1
Which one of the following permutations can be obtained the output using stack assuming that the input is the sequence 1,2,3,4,5 in that order ?
- [A] 3,4,5,1,2
- [B] 3,4,5,2,1
- [C] 1,5,2,3,4
- [D] 5,4,3,1,2