CodingReported in a candidate post, Aug 2023
Find frequency of each element in array (O(1) space)
Filed under Junglee Games
The question
Given an array where each element is less than the size of the array, find the frequency of each element using O(1) auxiliary space.
No write-up yet. Related questions below have one.
Related Junglee Games questions
Collected from public candidate posts and coding forums. Updated Nov 2026.