Graph Algorithm 5

  • Option : B
  • Explanation :
    Usinng BFS traversal we can set the twin pointer in each entry in each adjacency list. So it will take O(m + n) time.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *