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 )

1063

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.

1027

Post New Amazon PHP Interview Questions




Amazon PHP Interview Questions





Un-Answered Questions

How can windows applications connect to sql servers via odbc?

43


Is set sorted in java?

5


What is trolltech registry?

11


List the advantages of inheritance.

55


what are some advantages of using ruby on rails?

38






What r the functional testing u perform?

1055


What are the key activities that you perform as part of sap basis support?

50


Name the scientist who has been invited by the Srilankan Governement to have a Study on Employment development?

1397


What is shading?

451


Can you define standard mode?

35


Explain the nuclear reactor.

59


What is mysql shell?

11


What are the different template components in ember.js?

1


How do you define a string?

46


What is a de-referenced variable? What is a garbage collector?

1