Veeva Systems Interview Question

*Exercise* What is another way you could solve this problem?