Revolut Interview Question

Working with random String generators