Kwik Data Structure and algorithm
Wednesday, 22 June 2016
What is bubble sort and how bubble sort works?
Bubble sort is comparison based algorithm in which each pair of adjacent elements is compared and elements are swapped if they are not in order. Because the time complexity is Ο(n
2
), it is not suitable for large set of data.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment