CodingReported in a candidate post, Jul 2025
Count how often a appears as the last digit of a^b for b from 1 to n
Filed under Motorola Solutions
The question
Coding question in Java: count the number of times a appears as the last digit in a^b where b ranges from 1 to n.
No write-up yet. Related questions below have one.
Related Motorola Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.