This question is the WORST one!

  • 11

    What does undirected graph mean? It's a graph in which a node is a neighbor of its neighbors.
    Many people would think the terrible {#} format is just for OJ's input/output. I was stuck for this reason for half an hour.

    Why the question stress that the graph is undirected when it's actually directed?

  • 2

    Well, now the paragraph about OJ's undirected graph serialization is not useful at all to solve this question.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.