Find first duplicate number in an array containing numbers from 1 to n

Find duplicates in an array of integers within range 0 to n-1

Check if Array is Consecutive Integers

Check if Array is Consecutive Positive Integers

Find most frequent element in the array

Find local minimum or maximum in O(1) time in an array with elements differing by plus minus 1

Find the smallest integer that cannot be represented as sum of any subset of sorted array

Kth smallest absolute difference in array

Finding the Maximum Distance Between Increasing Elements in an Array

Longest Common Prefix in array of string

This site uses cookies to improve your experience on our website. By using and continuing to navigate this website, you accept this. Privacy Policy