Meta interview question

1. Top N frequent elements 2. Dinosaur problem