โ† Thoughtworks questions

Smallest positive number not in array

Filed under Thoughtworks

The question

Given an array containing positive and negative numbers, find the smallest positive number that is not present in the array.

No write-up yet. Related questions below have one.

Related Thoughtworks questions

Collected from public candidate posts and coding forums. Updated Nov 2026.