โ† Amazon questions
CodingReported in a candidate post, Jul 2025

Maximum repeating integer in array with O(1) memory

Filed under Amazon

Given an array of N integers ranging from 0 to N-1, output the maximum repeating integer using only O(1) extra memory.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

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