General approach would be , get the no of levels first by log 28 /log 3 , = 4(use ceiling)...and now 3^0+3^1+3^2+3^3 = 40 will be no of internal nodes..
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/OyhD3tQ5uPgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
