help with pseudo-code with ADT

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Nov 2008
Posts: 10
Reputation: laki234 is an unknown quantity at this point 
Solved Threads: 0
laki234 laki234 is offline Offline
Newbie Poster

help with pseudo-code with ADT

 
-1
  #1
Dec 13th, 2008
hi
can anybody give me the answer of this problem

Que: Use binary tree ADT operations to write a pseudo-code procedure ggc(v,T) to count the number of great grandchildren of a given node v in a proper binary tree T.


thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: help with pseudo-code with ADT

 
0
  #2
Dec 13th, 2008
> can anybody give me the answer of this problem
No, read the forum rules.

Draw some trees (with and without great grandchildren), and figure out how you would approach the problem.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC