Remote Interview Question

Questions about the assignment and why I picked specific approach