Rewire interview question

logical thinking questions