Create a method uniqueItems. uniqueItems accepts a list of Anys and returns a count of how many of the objects in the list are unique…
The solution allocated 656 bytes to complete the tests,
I tried for in loop, set, map filter many ways to complete the homework but I just got message you use too much memory(19301%).