validate a binary tree
Softwareentwickler Backend Interview Questions
513,129 softwareentwickler backend interview questions shared by candidates
How to find a number which exist odd times in a list
NDA
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.
You have two sorted arrays - how can you effectively merge them into one giant sorted array?
"You are given an array of integers where every integer occurs an even number of times, except one integer that appears an odd number of times. Return the odd occurring integer. Write functioning code and read it to me when you're done."
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
Viewing 2291 - 2300 interview questions