Veeva Systems Interview Question

Group similar objects within an array