Find missing number in O(n)
Filed under Nearbuy
The question
Given an ArrayList with numbers from 1 to 100, find the one missing number in O(n) time.
No write-up yet. Related questions below have one.
Related Nearbuy questions
Collected from public candidate posts and coding forums. Updated Nov 2026.