Given a sorted (increasing order) array, write an algorithm to create a binary
tree with minimal height.
In this I am not getting is that how we can store binary tree as an array.
amit.hak50
0
Junior Poster in Training
Recommended Answers
Jump to PostGiven a sorted (increasing order) array, write an algorithm to create a binary
tree with minimal height.
In this I am not getting is that how we can store binary tree as an array.From my understanding on how you wrote this, you need to go from an array to …
All 3 Replies
cale.macdonald
4
Junior Poster
amit.hak50
0
Junior Poster in Training
BestJewSinceJC
700
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.