numruby icon indicating copy to clipboard operation
numruby copied to clipboard

Add Sort functionality

Open prasunanand opened this issue 6 years ago • 6 comments

Implement the following sort algorithms:

  • [ ] Quicksort
  • [ ] Heapsort
  • [ ] Mergesort
  • [ ] Stablesort

prasunanand avatar Aug 28 '19 10:08 prasunanand

Hi @prasunanand, I am interested to work towards this issue. Would be great if there was some knowledge transfer regarding this.

ASCcool avatar Feb 18 '21 09:02 ASCcool

This is an easy to build functionality. Can you write the above mentioned sort algos in C? I can then help you out.

prasunanand avatar Feb 18 '21 15:02 prasunanand

Yes @prasunanand definitely. Kindly let me know how shall I proceed.

ASCcool avatar Feb 18 '21 15:02 ASCcool

Start working on a PR with C code. Google for tutorials on Ruby C bindings.

prasunanand avatar Feb 18 '21 17:02 prasunanand

Sure, I will create the PR to be merged ASAP. It should be to the ext directory, right?

ASCcool avatar Feb 18 '21 18:02 ASCcool

yeah

prasunanand avatar Feb 19 '21 06:02 prasunanand