WE Interview Question

Great challenge