Software Development Interview Questions

37,026 software development interview questions shared by candidates

Questions included: array where indexes correspond to the tree node number of a parent node, and values correspond to current tree node number., root having number -1 Write code to recreate a tree (binary tree, bnon-BST). Another question was: given an array of numbers including negative, print the highest sum of the continuous sequence you can find. Another one: difference between hashtable and hashmap, etc. Detailed performance test questions: load, stress, etc tests. Given than these definitions differ from company to company (I attest, as my parent heads performance engineering in large US defense company and this was discussed over and over)...why write down and question every detail from you response and pick on coefficients such as 1.5 versus 2, etc: this is quite nonsensical.
avatar

Software Development Engineer In Test

Interviewed at Amazon

3.5
Oct 6, 2013

Questions included: array where indexes correspond to the tree node number of a parent node, and values correspond to current tree node number., root having number -1 Write code to recreate a tree (binary tree, bnon-BST). Another question was: given an array of numbers including negative, print the highest sum of the continuous sequence you can find. Another one: difference between hashtable and hashmap, etc. Detailed performance test questions: load, stress, etc tests. Given than these definitions differ from company to company (I attest, as my parent heads performance engineering in large US defense company and this was discussed over and over)...why write down and question every detail from you response and pick on coefficients such as 1.5 versus 2, etc: this is quite nonsensical.

The phone interview began with a general discussion about the position, the company (Amazon), and my background. This was followed with a test question, asking what would I do if you was in charge of a web-based e-commerce company selling shoes online. In this hypothetical scenario, the marketing dept ran an ad for a few products offering 2-for-1. The website had slowed to a crawl, but overnight had returned to normal. What would I do?
avatar

Software Development Manager

Interviewed at Amazon

3.5
Dec 17, 2013

The phone interview began with a general discussion about the position, the company (Amazon), and my background. This was followed with a test question, asking what would I do if you was in charge of a web-based e-commerce company selling shoes online. In this hypothetical scenario, the marketing dept ran an ad for a few products offering 2-for-1. The website had slowed to a crawl, but overnight had returned to normal. What would I do?

First: 1) Find out if there's a loop in a linked list 2) Reverse all words(not characters in each word) in a string 3) Design a parking lot Second: 1) Given a node, find its successor node in a BST(follow ups: in place, with or without root node, parent node) 2) Given str1 and str2, find if they are rotated strings of each other
avatar

Software Development Engineer Intern

Interviewed at Amazon

3.5
Feb 24, 2014

First: 1) Find out if there's a loop in a linked list 2) Reverse all words(not characters in each word) in a string 3) Design a parking lot Second: 1) Given a node, find its successor node in a BST(follow ups: in place, with or without root node, parent node) 2) Given str1 and str2, find if they are rotated strings of each other

The third and final question was the follow: Write an efficient function that returns the n’th Fibonacci number (There are many ways to solve this problem. Please write the most efficient method possible). Each Fibonacci number is the sum of the last two. The first 10 are: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55
avatar

Software Development Engineer

Interviewed at Amazon

3.5
Aug 3, 2014

The third and final question was the follow: Write an efficient function that returns the n’th Fibonacci number (There are many ways to solve this problem. Please write the most efficient method possible). Each Fibonacci number is the sum of the last two. The first 10 are: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55

Viewing 3111 - 3120 interview questions

Glassdoor has 37,026 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.