Pancake Sort Algorithm (in-place, not stable)


This is a companion discussion topic for the original entry at http://iq.opengenus.org/pancake-sort/