In the onsite, questions were only based on the task that was given. Focus on Amazon's leadership principles and try to include them in any answers that you give.
Engineer Software Interview Questions
419,571 engineer software interview questions shared by candidates
You have two sorted arrays - how can you effectively merge them into one giant sorted array?
Serialize (flatten) and de-serialize a binary tree. First describe the approach, then write the code.
First phone screen: Print all the nodes of a tree in reverse level order (ie print all the nodes at the leaves first, then print the nodes on the level above the leaves, and then eventually work your way to the top).
- Find k-th element from the end of the singlylinked list in single pass?
Given 2 files, each line in the files is considered an entry. Print the entries that are duplicated in both files such that the number of repeated entries are minumal. Example: File 1: aaa aaa bbb bbb bbb ccc File 2: aaa aaa aaa bbb bbb result: aaa aaa bbb bbb
Given an array of integers, all but one of which appears an even number of times, find the one integer which appears an odd number of times.
Find the max ;length palindrome in an input string.
There is an array of numbers, containing the integers 1-n, how can you find the sum of the numbers in that array?
Write a function, which takes input, two sets of integers, and moves a integer from one set to another set in a way that average of both sets increases. It returns true if it successfully moved a element, false otherwise.
Viewing 1961 - 1970 interview questions