Binary tree

Post your thoughts here if you are not sure where to post it!
Post Reply
Godbole678
New Member
Posts: 1
Joined: April 30, 2019, 3:47 pm
Contact:

Binary tree

Post by Godbole678 » April 30, 2019, 3:48 pm

What is the minimum number of nodes that a binary tree can have?



User avatar
Niggly
udonmap.com
Posts: 65
Joined: December 5, 2018, 5:51 pm
Location: ‘www.overthere.com’

Re: Binary tree

Post by Niggly » May 1, 2019, 2:44 am

7 :-k

User avatar
Sateeb
udonmap.com
Posts: 300
Joined: June 15, 2016, 10:58 pm

Re: Binary tree

Post by Sateeb » May 1, 2019, 3:23 am

Spammer alert.

User avatar
Niggly
udonmap.com
Posts: 65
Joined: December 5, 2018, 5:51 pm
Location: ‘www.overthere.com’

Re: Binary tree

Post by Niggly » May 1, 2019, 3:55 am

3?

User avatar
GT93
udonmap.com
Posts: 5381
Joined: June 5, 2009, 9:37 am
Location: ฃอยชอบ Auckland

Re: Binary tree

Post by GT93 » May 1, 2019, 8:52 am

Sateeb wrote:
May 1, 2019, 3:23 am
Spammer alert.
Cool. Things have been a bit slow with Lone Star busying himself with other things.

Let's feed the spammer. 8?

Sport
udonmap.com
Posts: 1215
Joined: October 30, 2006, 10:13 pm
Location: LA USA
Contact:

Re: Binary tree

Post by Sport » May 1, 2019, 11:53 am

The binary tree is native to French Guiana and only found on french soil. The number of nodes, which is the local name for the cukoo bird can vary from 3 to 16, depending on the size of the binary tree. If the OP can give us the size of the tree, we can work out the exact number of nodes.

User avatar
GT93
udonmap.com
Posts: 5381
Joined: June 5, 2009, 9:37 am
Location: ฃอยชอบ Auckland

Re: Binary tree

Post by GT93 » May 1, 2019, 1:06 pm

Right. I'll add to the discussion - What is the minimum number of cuckoos that this forum can have? :lol:

Natas

Re: Binary tree

Post by Natas » May 1, 2019, 1:41 pm

GT93 wrote:
May 1, 2019, 1:06 pm
Right. I'll add to the discussion - What is the minimum number of cuckoos that this forum can have? :lol:
Hahaha

User avatar
Niggly
udonmap.com
Posts: 65
Joined: December 5, 2018, 5:51 pm
Location: ‘www.overthere.com’

Re: Binary tree

Post by Niggly » May 1, 2019, 7:22 pm

42

User avatar
GT93
udonmap.com
Posts: 5381
Joined: June 5, 2009, 9:37 am
Location: ฃอยชอบ Auckland

Re: Binary tree

Post by GT93 » May 2, 2019, 1:14 am

That's probably on the low side. I enjoy these spamming threads. They're a pleasant break from the focus on politics.

User avatar
tamada
udonmap.com
Posts: 3982
Joined: February 21, 2007, 4:03 am
Location: down two... then left

Re: Binary tree

Post by tamada » May 2, 2019, 11:12 am

GT93 wrote:
May 1, 2019, 1:06 pm
Right. I'll add to the discussion - What is the minimum number of cuckoos that this forum can have? :lol:
Is that including Felix and/or Wide Awake?

Natas

Re: Binary tree

Post by Natas » May 2, 2019, 4:34 pm

tamada wrote:
May 2, 2019, 11:12 am
GT93 wrote:
May 1, 2019, 1:06 pm
Right. I'll add to the discussion - What is the minimum number of cuckoos that this forum can have? :lol:
Is that including Felix and/or Wide Awake?
What about you??

Actually the original post is based on C Programming.
https://www.learn-c.org/en/Binary_trees

User avatar
tamada
udonmap.com
Posts: 3982
Joined: February 21, 2007, 4:03 am
Location: down two... then left

Re: Binary tree

Post by tamada » May 3, 2019, 10:34 am

tamada wrote:
May 2, 2019, 11:12 am
GT93 wrote:
May 1, 2019, 1:06 pm
Right. I'll add to the discussion - What is the minimum number of cuckoos that this forum can have? :lol:
Is that including Felix and/or Wide Awake?
...and Natas?

User avatar
GT93
udonmap.com
Posts: 5381
Joined: June 5, 2009, 9:37 am
Location: ฃอยชอบ Auckland

Re: Binary tree

Post by GT93 » May 3, 2019, 12:53 pm

C programming.

All sorted after a bit of a wild goose chase.

User avatar
Niggly
udonmap.com
Posts: 65
Joined: December 5, 2018, 5:51 pm
Location: ‘www.overthere.com’

Re: Binary tree

Post by Niggly » May 3, 2019, 12:54 pm

13

User avatar
GT93
udonmap.com
Posts: 5381
Joined: June 5, 2009, 9:37 am
Location: ฃอยชอบ Auckland

Re: Binary tree

Post by GT93 » May 3, 2019, 12:57 pm

Are we still chasing the geese or did you look up the answer?

User avatar
Niggly
udonmap.com
Posts: 65
Joined: December 5, 2018, 5:51 pm
Location: ‘www.overthere.com’

Re: Binary tree

Post by Niggly » May 3, 2019, 7:19 pm

The geese thing.



412.66?

User avatar
GT93
udonmap.com
Posts: 5381
Joined: June 5, 2009, 9:37 am
Location: ฃอยชอบ Auckland

Re: Binary tree

Post by GT93 » May 6, 2019, 1:21 am

What's the point 66? I think you need to check your long division.

It's perhaps best to get your slide rule out.

User avatar
Niggly
udonmap.com
Posts: 65
Joined: December 5, 2018, 5:51 pm
Location: ‘www.overthere.com’

Re: Binary tree

Post by Niggly » May 6, 2019, 2:39 am

Two fat ladies?

Essex
udonmap.com
Posts: 183
Joined: January 3, 2018, 11:08 am

Re: Binary tree

Post by Essex » June 13, 2019, 4:06 pm

If it's a binary tree it has two of everything, but the bi part indicates characteristics of both sexes. Perhaps it is an hermaphrodite meaning the nodes are not needed for reproduction

Overall a disturbing tree that will keep me awake at night thinking about it.

Btw, binary trees can exist in all program languages as a conditional branch is universal to all languages. Be it ancient Fortran, almost as ancient COBOL or modern day Python
I am independently poor

Post Reply

Return to “Open Forum”