WEX Interview Question

Question was an uncommon medium leetcode problem - Movement of Robots.