799. Champagne Tower

Finding this could be solved using palindrome sequence was the real deal