LeetCode problem solution