Skip to content

Subset of swap-based sorting algorithms implemented in Go

License

Notifications You must be signed in to change notification settings

shehab-as/Go-Sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Sort

Once you clone, run the following command for output.

go run main.go

Inside pkg/ you will find Algorithm package which imports all sorting algorithms and returns the function pointer Sort() based on the requested type.

Swap-based Sorting Algorithms:

  1. Bubble Sort: https://en.wikipedia.org/wiki/Bubble_sort
  2. Selection Sort: https://en.wikipedia.org/wiki/Selection_sort
  3. Insertion Sort: https://en.wikipedia.org/wiki/Insertion_sort
  4. Merge Sort: https://en.wikipedia.org/wiki/Merge_sort
  5. Quick Sort: https://en.wikipedia.org/wiki/Quicksort
  6. Heap Sort: https://en.wikipedia.org/wiki/Heapsort

About

Subset of swap-based sorting algorithms implemented in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages