Angi Interview Question

Dedupe an array of objects by property