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 )

1120

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.

1086

Post New Amazon PHP Interview Questions




Amazon PHP Interview Questions


Un-Answered Questions

What are the themes in a data warehouse?

109


What are the different components in sap hana architecture?

22


What is memory table in mysql?

54


What is meant by data consolidation in excel?

1


What is a private attribute in sap hana? : hana sql script

7






Do I need to import javlang package any time? Why ?

88


What is the difference between amorphous core transformer and CRGO core transformer?.

2255


Explain list, tuple, set, and dictionary and provide at least one instance where each of these collection types can be used.

80


What is an example of a dns?

57


What is the execute method? How many times it calls?

1


What is comp-1?

110


what is a corelated subquerry?

130


Are c and c++ similar?

76


Can we sort set in java?

55


Discuss the concept of yagni and explain something you did recently that adhered to this practice.

85