Leetcode 1924. Erect the Fence II | Hello Interview