← Deutsche Bank questions

Find the nth good number

Filed under Deutsche Bank

A 'good number' consists strictly of digits '4' and '5' and is an even-length palindrome. The good numbers sorted in ascending order are: 44, 55, 4444, 4554, 5445, 5555, ... Given an integer n, find…

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 Deutsche Bank questions

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