Amazon interview question

Graph traversal Max connection in a chat room