Day 9 (30 Days of Code)
8 July 2023
Today I solved 3 Leetcode problems.
Contains Duplicate II
My approach:
This question is very similar to one I did just yesterday and in this as well the best solution is achieved using Hashmap which gives us the time complexity of O(n)...
nirbhaycodes.hashnode.dev2 min read