How to find empty nodes in binary tree?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: How to find empty nodes in binary tree?

Post by VladSun »

astions wrote:So how about posting your solution?
I'm not sure who this is addressed to...
Maybe you could place it in the [Challenge] index? :)
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Re: How to find empty nodes in binary tree?

Post by daedalus__ »

what kind of applications would you use this thingy in? im confused :\ daedalus slept through math after 6th grade
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: How to find empty nodes in binary tree?

Post by Benjamin »

VladSun wrote:
astions wrote:So how about posting your solution?
I'm not sure who this is addressed to...
Maybe you could place it in the [Challenge] index? :)
I was addressing askbapi. He stated he had solved it. I'm not sure this warrants a challenge, it seems pretty easy to iterate through them.
Post Reply