Count continuous occurrences
Filed under Monotype Solutions
The question
Find how many times a number continuously appears in an array in O(n) time.
No write-up yet. Related questions below have one.
Related Monotype Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.