Question d’entretien chez Booking.com

Implement random function as it's implemented in Java