Why unique label is necessary

  • 0

    Could any one explain why it's necessary to have each node unique label ?

  • 0

    It is easy for LeetCode judger to do its job.

    When having a interview of this question, probably this LABEL field could be left out. However, It all depends on discussing with interviewer.

Log in to reply

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