Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.
1506Post New FGD PHP Interview Questions
How to check which add-ins are associated with a test in qtp?
What is ppc marketing?
How do you rate yourself between 1-10 in SDK and C++?
How to convert RGB Value to Hexadecimal values in datastage?
What is internal structure of 8086?
Is python easy to learn?
Which method removes leading and trailing blanks in a string?
Does firefox use html5?
Describe two different sensory receptor cells, with respect to the locations and the mechanisms of this amplification?
how to get only updated, deleted , inserted records after certain interval time in mysql with out using triggers...
How output frequency is varied in case of a thyristor?
How u can give the overload setting to any motor protection relay for a HT motors with formula and Example?
What is extreme programming and what is it got to do with testing?
50 acre of land to be reclaimed for an average height of 2.5 mt. Dredging area is 500mx200m size. what is the dredging depth required to reclaim the area?
How can you convert the string of any base to integer in JavaScript?