Lets Code Everyday - Day 26
Question - 26:
Find the Duplicate Number
Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive.
There is only one repeated number in nums, return this repeated number.
Example 1:
Input: nums = [...
vinayrangaraju.hashnode.dev4 min read