AKUNA CAPITAL Interview Question

Graph traversal question, discussion about data structures