Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

This program prompts the user to create a randomized list of numbers then sorts the list based on the numbers created. The user can also choose the size of the list and whether the list should be returned to them by typing in "yes" or "no" in all lowercase letters.

This program will also show the time difference between the two sorting algorithms and display them to the user after the program has ran.

Note this uses generics and can be changed to use different types of numbers (long, doubles, integers, etc) by changing line 84

Long randomNumber = random.nextLong(); to the desired type of numbers.

ex. Double randomNumber = random.nextDouble();

and the program will sort the list and return the results with the new type

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages