Leetcode Weekly 498 Solution Discussion (finished)