Question d’entretien chez Booking.com

write a program to find first non repeated character in a string?