We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Right, but copying ("shifting") turns out to be more efficient (one store rather than three).
Regardless, nobody these days needs to know how to do a sort; rather, we need to know how to pick the right sort for our purpose. No harm in teaching basic sorting, though!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Insertion Sort - Part 1
You are viewing a single comment's thread. Return to all comments →
Right, but copying ("shifting") turns out to be more efficient (one store rather than three).
Regardless, nobody these days needs to know how to do a sort; rather, we need to know how to pick the right sort for our purpose. No harm in teaching basic sorting, though!