Sollicitatievraag bij Nielsen

Algorithm involving strings and how to work with it