HackerRank Construct the tree

Revision en1, by _abstract_, 2020-08-03 16:38:24

question:https://www.hackerrank.com/contests/hack-the-interview-vi-asia-pacific/challenges/constructing-a-tree/problem

i have tried a lot but not able to construct the tree. i am not able to understand the code please can any one write in easy language.

Tags tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English _abstract_ 2020-08-03 16:40:02 20 Tiny change: 'n any one write in easy l' -> 'n any one make me understand in easy l'
en1 English _abstract_ 2020-08-03 16:38:24 288 Initial revision (published)