Find normalized list difference efficiently | Palo Alto Networks Interview Question