Day 22 Contains Duplicate II (LeetCode 219) 📝 Problem Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that: nums[i] == nums[j], ...
**Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the difference between i and j is at most k.** ...
Remember solutions are only solutions to given problems. If you want full study checklist for code & whiteboard interview, please turn to jwasham's coding-interview-university. Also, there are open ...