"Contains Duplicates" - Leetcode Question 217 Solved.
NOTE 1: The count sort algorithm approach can be used only if we are dealing with non-negative integer or array values.
NOTE 2: The length of the count sort array needs to be equal to the maximum value in the original array.
Check out the actual Leetcode question: https://leetcode.com/problems/contains-duplicate/
Check out my GitHub repo for the code: https://github.com/Vinay352/Leetcode/tree/main/0217-contains-duplicate