3 ms·
Could you please s/max/min/ in your first post?
by Flow 16y ago
Could you please s/max/min/ in your first post?
- deleted 16y ago[deleted]
- loewenskind 16y agoBut it depends on the sort algorithm. In the exercise I did this on (in Ocaml with some custom lazy code, since Ocaml's wasn't lazy enough for what I was doing) I did sort in descending order.
- Flow 16y agoAre you saying you made a sort function that sorts reversed, and named it sort? What's wrong with sortDesc? I think you should be more careful with following conventions. Everyone knows sort sorts ascending.
- loewenskind 16y agoConceded. But I can't edit my original comment now. :(