Code_blogger's blog

By Code_blogger, history, 3 years ago, translation, In English

Nokia Hiring challenge in INDIA:::Hackerearth Platform

Solution of Nokia Software engineer Hiring Challenge :::Hackerearth:::

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

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Answer is nodeval[u] != nodeval[v] ? 1 : 0

It has nothing to do with building tree