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

Find duplicate number in array with 1 to N+1 numbers with one number repeating

Finding the Critical Point in a Mountain or Valley-Shaped Array

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