pal_saab's blog

By pal_saab, history, 3 years ago, In English

we have given rooted tree , and target node and some other node A, we have to check if target node present in simple path from root to A , please tell me how to check this in o(1)

Full text and comments »

  • Vote: I like it
  • -9
  • Vote: I do not like it