Skip to content

A handful of different sorts implemented in Java with a simple command line interface

License

Notifications You must be signed in to change notification settings

RJ-Russell/JavaSortingExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaSortingExamples

A handful of different sorts implemented in Java with a simple command line interface

  • Clone the repo
  • Compile files: javac *.java

Usage

java SortMain [option]

  • Only one option is permitted at a time.

Options

  • -cs   Comb Sort
  • -is   Insertion Sort
  • -ms   Merge Sort
  • -qs   Quick Sort
  • -ss   Selection Sort
  • -h   Show Usage/Option Menu

ArrayList size is currently set to 25

Range of the random numbers is up to 1000

This program expects the ArrayList size to be > 0

About

A handful of different sorts implemented in Java with a simple command line interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages