← Questions

N-th license plate in sorted order

0
GoogleCodingLast asked Jun 2025

License plates follow a fixed format, for example three letters A-Z then three digits 0-9 (AAA000). Sorted in dictionary order, what is the n-th plate? Compute it directly by converting n into the mixed letter and digit positions, without listing plates.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding