Leap interview question

Pair programming, code sandbox to solve react problem.