numruby
numruby copied to clipboard
Add Sort functionality
Implement the following sort algorithms:
- [ ] Quicksort
- [ ] Heapsort
- [ ] Mergesort
- [ ] Stablesort
Hi @prasunanand, I am interested to work towards this issue. Would be great if there was some knowledge transfer regarding this.
This is an easy to build functionality. Can you write the above mentioned sort algos in C? I can then help you out.
Yes @prasunanand definitely. Kindly let me know how shall I proceed.
Start working on a PR with C code. Google for tutorials on Ruby C bindings.
Sure, I will create the PR to be merged ASAP. It should be to the ext directory, right?
yeah