Nagarro Interview Question

Unique letter code duplicate no. code etc