LeetCode Biweekly Contest 174 Discussion and Solution - Hey Sainty