I’ve been asked to write few sort algorithm with bare hands. But I have very poor memory technique on mapping the name to the detail implementation.
I know that both in EPI and PP (Programming Pearls) have suggested that the detail implementation easily goes wrong, and in practice we rarely implement it ourselves. (why risk?)
Even some guys in stackoverflow / reddit suggests that should not memorize these algorithms, but I’ve been asked to write it few time.
A guy even says: “you don’t know Merge sort, how could you do algorithm jobs” I really don’t know what to answer him.
Any help / suggestion welcome.