Overview
I walk you through how to solve Leetcode problem 217. Contains Duplicate. Although it's an easy problem, there are various approaches to solving it. This allows us to walk through various trade-offs between time and space complexity respective to each approach, a fundamental skill needed in job interviews.
Explanation