The third question was about to write a function in Python that finds the rarest number in a list with nlogn complexity.
Anonymous
Use hashmap to store the frequency of each element and return the one with lowest freq.
Check out your Company Bowl for anonymous work chats.