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.
1520Post New FGD PHP Interview Questions
What does the on delete cascade option do?
Where you involved in the design phase and what did you do?
What is difference between for and foreach in c#?
Explain briefly about assembler and its functioning?
Mention the differences between django, pyramid and flask.
In howmany ways can you deploy an assembly?
Tell me how include and require are different from each other?
Why should we use singleton pattern instead of static class?
does rpa have a future?
What are the types of presentation?
Tell me what type of scheduling is there in rtos?
What test can selenium perform?
How to set, get and clear cookies in angularjs?
In the below example, what will be the output?
When do I need “struts.jar” on my classpath?