Nokia Hiring challenge in INDIA:::Hackerearth Platform
Solution of Nokia Software engineer Hiring Challenge :::Hackerearth:::
Nokia Hiring challenge in INDIA:::Hackerearth Platform
Solution of Nokia Software engineer Hiring Challenge :::Hackerearth:::
Answer is nodeval[u] != nodeval[v] ? 1 : 0
It has nothing to do with building tree