Closed Amer-Mukhtar closed 1 month ago
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that you star the repository and follow me in github,otherwise PR will not merged. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊
@abhisek247767 for issue #150 and please add hacktoberfest label to this pr.
🟢 Title : Contains Duplicate 🟢 Programming language : C++ 🟢 Objective : Return true if any value appears at least twice in the array 🟢 Summary : Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.
Example 1: Input: nums = [1,2,3,1] Output: true