Leetcode 2866. Beautiful Towers II | Hello Interview