Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 603 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 603 Bytes

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