algorithms-exercises
algorithms-exercises copied to clipboard
refactor(insertion-sort): :recycle: no need to check on j <= 0, undefined is never > truthy
It's an extra operation
nums[-1] (undefined) will never be bigger than any truthy value