MyGlamm Interview Question

Programming: finding max and unique