Check if an array is consecutive
Filed under CarWale
The question
Determine whether the elements of an array form a consecutive sequence of numbers.
No write-up yet. Related questions below have one.
Related CarWale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.