Amazon Interview Report
- 0of 0 votes
AnswersRound-I Write a function that takes an array of five integers, each of which is between 1 and 10, and returns the number of combinations of those integers that sum to 15. For example, calling the function with the array [1, 2, 3, 4, 5] should return 1, while calling it with [5, 5, 10, 2, 3] should return 4 (5 + 10, 5 + 10, 5 + 5 + 2 + 3, 10 + 2 + 3). You may assume that the input has already been validated.
- Tim December 25, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Algorithm - 0of 0 votes
AnswersHow will you rotate a given matrix? Question from CC book.
- Tim December 25, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Algorithm - 0of 0 votes
AnswersIf given a position (x,y) of knight on a chess board, how will you determine all the valid moves that a knight can move. I coded the function on the while board by using a helper function IsValidMove(x,y)
- Tim December 25, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.