Leetcode 969. Pancake Sorting | Hello Interview