Akamai interview question

data structures, puzzles, dfs, bfs, and array manipulation