Leetcode Weekly 500 Solution Discussion