Loading...
Is this your company?
how to store the data of tree into array
Anonymous
The left child should be 2*n+1 and the right child 2*n+2
if the node of the tree, index = n, then the left child 2*n, right child 2*n + 1
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.