Deloitte Coding Assessment (2026) | OA | Arrays & Frequencies

Deloitte · Question · Posted Jun 2026

Question 1: Triple Trouble Problem Statement Given an array of size 3X + 1, where every element occurs three times, except one element, which occurs only once. Find the element that occurs only once. Input Format The first line of input contains T - the number of test cases. It's followed by 2 * T lines. The first line contains N - the size of the array (of the form 3X + 1) and the second line contains the elements ...

The full answer & interview discussion are available to premium members.

Log in Create a free account