Sollicitatievraag bij JellyFish Technologies

How would you approach this given problem?