Leetcode 1181. Before and After Puzzle | Hello Interview