Leetcode solution update