LeetCode another problem