Amazon Interview Question

Graph traversal Max connection in a chat room