← Accenture questions
CodingEasyReported in a candidate post, Apr 2021

Count numbers with specific unit digit in a range

Filed under Accenture

Given a starting value i, an ending value j, and a unit digit value d (0-9), calculate how many integers in the inclusive range [i, j] have d as their unit digit (the last digit).

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 Accenture questions

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