No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
This is a very nostalgic problem for me. Several years ago (so long ago that Dani was probably not born yet) I had to solve this problem. I did all sorts of pre-internet researc but could not find an answer. Then - the aha moment I realized that there is …
Using your definition of a perfectly balanced tree (I would call it an optimally packed tree), I think the following algorithm would work. If I'm wrong please let me know. Traverse each path measuring its length. Keep track of the longest and shortest paths measured. If, at any time during …
I'd check the #define for MAX_ITERATION (or sqY if it is a macro also)
The End.
yde