Showing posts with label bubble sort. Show all posts
Showing posts with label bubble sort. Show all posts

Monday, 25 June 2012

Sort number in ascending form using bubble sort method.


Popular interview question for Fresh-Grad:
Sort number in ascending form using bubble sort method.


Figure 1: Sort Using Bubble Sort

Actually Java do provide API for this sort method. It is illustrated as the following: 

Figure 2: Sort Using Java API