CERNER (ORACLE HEALTH) | On Campus OA (2021) Problem Count Largest Group
Question · Posted Jun 2026
Problem Statement You are given an integer n. Consider all integers from 1 to n. Group these numbers according to the sum of their digits. For example, if: n = 13 The groups formed are: Digit Sum 1 → {1, 10} Digit Sum 2 → {2, 11} Digit Sum 3 → {3, 12} Digit Sum 4 → {4, 13} Digit Sum 5 → {5} Digit Sum 6 → {6} Digit Sum 7 → {7} Digit Sum 8 → {8} Digit ...
The full answer & interview discussion are available to premium members.
Log in Create a free account