Wren Kitchens interview question

Not too hard