GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Adobe

 Print  |  
Question:  An N-ary tree has N sub-nodes for each node, it has M non-leaf nodes
Find the no of leaf nodes?




March 03, 2007 05:32:13 #9
 vibhu   Member Since: Visitor    Total Comments: N/A 

RE: An N-ary tree has N sub-nodes for each node, it ha...
 
yes its M*(N-1)+1
     

 

Back To Question