Leetcode Weekly Contest 487 — Solution Discussion with Anirudh (finished)