Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Amazon PHP Interview Questions
Questions Answers Views Company eMail

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 )

1157

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.

1123

Post New Amazon PHP Interview Questions




Amazon PHP Interview Questions


Un-Answered Questions

What are goroutines?

1


Why hibernate is advantageous over entity beans & jdbc?

1


in Telecom DC system-why positive +ve is made earthed.and - ve is fed to load.

1486


If we use sum function in mysql, does it return sum of that row or for that column?

126


What does $1 mean in bash?

105






What is "H7014C/HQ1P4 BEARING" means ???

825


How do I edit a table in mysql workbench?

78


How can you create a vacancy in om?

143


How do I get rid of werfault exe virus?

100


What is the purpose or use of @testvisible?

3


sparse lookup and where its options we find in OCI and db2?

1301


What is strong name in .net assembly?

116


What are some other signature schemes ?

1622


What is difference between global temporary tables and local temporary tables?

158


Are arrays immutable c#?

84