Insertion Sort - Part 1

  • + 2 comments

    No, it's a terrible problem as it is requiring you to solve the code in a particular (and to top it off, really bad!) way, which is annoying.

    For example in JavaScript you would solve this really simply with Array.slice, but because this solution doesn't involve "shifting" elements around like it's the 1960s, it won't work.

    Terrible problem, rethink it.