namanvats / cpalgorithms

Algorithms and Techniques for competitive programming
MIT License
17 stars 30 forks source link

Selection Sort Implementation #14

Closed BruceAckley closed 3 years ago

BruceAckley commented 4 years ago

Added a simple CLI interface to choose which algorithm to run, randomly populated an array with double values, and implemented selection sort. An explanation of selection sort's time complexity is in a block comment in /src/libs/algorithms/sorting/selectionSort.h