kk
- 4
0of 0 votes
AnswersI need this in JAVA program and it's test cases:
- kk on November 04, 2012 in India Edit | Report Duplicate | Flag
Implement atoi function. Define your own function signature in the language of your choice. Please implement the code on your own without the use of class libraries or library call. Once done, write a few test cases. (Note: explain the program details using comments in java program)
Groupon Developer Program Engineer Testing - 18
0of 0 votes
AnswersIn A binary tree has the following nodes, print the output in zig zag form of the Binary tree
- kk on June 23, 2012 in India Edit | Report Duplicate | Flag
1
2 3
4 5
6 7 8
expected output :
1, 3, 2, 4 , 5, 8, 7, 6
Amazon Software Engineer / Developer Coding - 6
0of 0 votes
AnswersExpression: 5 + 3 * ( 6 - 4 ) solve the expression from left to write as well as solve the sub ex-expressions from left to right (without using BEDMAS), take the given expression as string input, and print the output....note in this expression a white space has been added on both operators and operands?
- kk on June 23, 2012 in India Edit | Report Duplicate | Flag
Example: Input : 5 + 3 * ( 6 - 4 )
output : 16
(if you use BEDMAS rule then you get the output : 11)
Amazon Software Engineer / Developer Coding - 20
0of 0 votes
AnswersToday I attended Amazon interview for the position of Programmer Analyst at Chennai.....Here I've post it, some of the questions they asked,
- kk on June 23, 2012 in India Edit | Report Duplicate | Flag
1. write the code ofTwo large numbers ( their integer limits are very large which has not in the integers range) , so give the output of adding the two large numbers?
Example;
str1 ="1111111111111111111111111111111111111111"
str2 ="22222222222222222222222222222222222222222"
stmstr = "33333333333333333333333333333333333333333"
(it has 41 digits that i've counted)
Amazon Software Engineer / Developer Coding

in binary tree representation
- kk on June 23, 2012 Edit | Flag View Reply1 has 2 , 3 child nodes
2 has 4 child node
3 has 5 child node
4 has 6, 7 child node
finally 5 has 8 child node