Skip to content

This is a simple Java program to demonstrate how to perform bubble sort on a given array.

Notifications You must be signed in to change notification settings

contactsunny/BubbleSortJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Bubble Sort

This is a simple Java program to demonstrate how to perform bubble sort on a given array.

Input

Original Array: 
 29 10 14 37 13 2 100 
-------------------------

Output

Sorted Array in Ascending order: 
2 10 13 14 29 37 100 
-------------------------
Sorted Array in Descending order: 
100 37 29 14 13 10 2 
-------------------------

About

This is a simple Java program to demonstrate how to perform bubble sort on a given array.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages