Whatnot interview question

Hashmaps, Sets, Strings, Data Structures, DFS & BFS