Write a function that takes "depth" as argument and return sum of node's data of that depth. For instance, (0) depth 0 / \ (10) (20) depth 1 / \ (40) (50) depth2 If I pass get_sum_by_depth(2) , it would return 90 (i.e. 40 + 50 )
2148Binary 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.
1994Post New Amazon PHP Interview Questions
How can you transfer data from a text file to a database table? Or how can you export data from a table to a comma delimited (csv) file? Or how can you import data from ms access to a table in a database? Or how can you export data from a table to an excel file?
Is it possible to connect multiple Bluetooth hubs?
How many non clustered indexes there can be on table ?
is data integration and etl programming is same? : Sas-di
What type of word is you?
From which base class all web forms are inherited?
What is a monad in scala? Explain
Explain locking?
Tell me how well do you work under pressure or tight deadlines? : insurance sales
Where will you maintain information like url, login, password?
Name a few different return types of a controller action method?
What is Java Package and which package is imported by default?
How do you describe your management style?
What is apache spark and what is it used for?
What are the tasks you have handled daily as an operation manager?