Software Development Engineer Interview Questions

32,831 software development engineer interview questions shared by candidates

If there are 'n' computers connected in a circular node, what is the minimum hop required to reach the diagonally opposite computer, and what is the max possible hops. Use any algorithm to hop through computers.
avatar

Software Development Engineer

Interviewed at Amazon

3.5
May 19, 2010

If there are 'n' computers connected in a circular node, what is the minimum hop required to reach the diagonally opposite computer, and what is the max possible hops. Use any algorithm to hop through computers.

1. Find common elements between two arrays of integers. 2. Find cycles in a graph. 3. Efficiently find duplicate elements in an array of numbers with bounded entries (for example, elements are between 0 and 99). 4. Reverse word sequence in a string inplace. 5. Efficiently find all Pythogorean triplets in a given array of integers. 6. Find all anagrams in a list of words. 7. Set operations.
avatar

Software Development Engineer

Interviewed at Amazon

3.5
Jun 29, 2010

1. Find common elements between two arrays of integers. 2. Find cycles in a graph. 3. Efficiently find duplicate elements in an array of numbers with bounded entries (for example, elements are between 0 and 99). 4. Reverse word sequence in a string inplace. 5. Efficiently find all Pythogorean triplets in a given array of integers. 6. Find all anagrams in a list of words. 7. Set operations.

Bar raiser 1. Given array of numbers, find a, b, c such that a + b = c. Can you beat O(N**2) ? 2. Difference between Quick sort and Merge sort. What modifications you make in Quick sort so that it provides O(N lg N) worst case complexity.
avatar

Software Development Engineer I

Interviewed at Amazon

3.5
May 24, 2011

Bar raiser 1. Given array of numbers, find a, b, c such that a + b = c. Can you beat O(N**2) ? 2. Difference between Quick sort and Merge sort. What modifications you make in Quick sort so that it provides O(N lg N) worst case complexity.

The questions in the first round were fairly straightforward if you use data structures like trees and linked lists for your work regularly. If you're working in areas where you don't use those data structures regularly, you may find the problems challenging. The question I was asked was "Given a sorted linked list, create a binary tree with the array with minimum height." Note that the question specified only binary tree and not binary search tree.
avatar

Software Development Engineer

Interviewed at Amazon

3.5
Apr 17, 2013

The questions in the first round were fairly straightforward if you use data structures like trees and linked lists for your work regularly. If you're working in areas where you don't use those data structures regularly, you may find the problems challenging. The question I was asked was "Given a sorted linked list, create a binary tree with the array with minimum height." Note that the question specified only binary tree and not binary search tree.

Viewing 601 - 610 interview questions

Glassdoor has 32,831 interview questions and reports from Software development engineer interviews. Prepare for your interview. Get hired. Love your job.