Booking.com interview question

Decoder array numbers for showing in the array