Day 1 of LeetCode
Going to start this series to document what I did, learned when doing LeetCode, specifically NeetCode 150.
Q1
217. Contains Duplicate
Easy. Array
My initial thought was to use Hashset.
class Solution:
def containsDuplicate(self, nums: List[int]) ...
evelynsjourney.hashnode.dev2 min read