abhisek247767 / LeetCode2024-6Companies30Days

Make your first Pull Request on Hacktoberfest 2024. Don't forget to spread love and if you like give us a ⭐️
40 stars 64 forks source link

Add : Contains Duplicate #159

Closed Amer-Mukhtar closed 1 month ago

Amer-Mukhtar commented 1 month ago

@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

github-actions[bot] commented 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! 😊