/Sort

MergeSort and RadixSort in GoLang

Primary LanguageGo

Sort

Theory of merge sort and Radix sort

array vs linked list

merge sort vs radix sort

How to run this code

go run main.go --sort=<sort options>

In this programe, I have 2 options sort ("MergeSort" and "RadixSort"), you can choose between these option (default is MergeSort)

Example

go run main.go --sort=RadixSort
  • Enter number of elements in array (int)
  • Enter value (int)

Contributing

Code by H3des