Sollicitatievraag bij Full Visibility

How did you mentally deconstruct the larger problem into this bite-sized code sample?