โ† Optum (UnitedHealth Group) questions
CodingReported in a candidate post, Jul 2025

Count occurrences of a digit in a range

Filed under Optum (UnitedHealth Group)

Given a non-negative integer n and a digit d (0 to 9), count how many times the digit d appears in the decimal representations of all integers from 0 to n inclusive. The number 0 is written as '0'.

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 Optum (UnitedHealth Group) questions

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