TheAlgorithms / MATLAB-Octave

This repository contains algorithms written in MATLAB/Octave. Developing algorithms in the MATLAB environment empowers you to explore and refine ideas, and enables you test and verify your algorithm.
MIT License
369 stars 175 forks source link

Create selectionSort.m #61

Open puneet-pr-arya opened 4 years ago

cozek commented 4 years ago

There is already a version of selection sort in the repo https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/sorting/select_sort.m

I will merge yours as an alternative implementation if you give a good enough reason. Thanks :)