Leetcode Weekly 495 + Biweekly 179 Solution Discussion (finished)