Software Engineer Developer Interview Questions | Glassdoor

Software Engineer Developer Interview Questions

3,547

Software engineer developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

How would you find the pairs of numbers that added to some specific number in an array.

7 Answers

Given an array of integer in which all numbers occur even times except for one number occurs odd times, find it.

8 Answers

Given an integer set of numbers, print all the subsets. For some reason the interviewer asked to print the supersets, but what he means is subsets.

9 Answers

Given an array with length n-1 which contains integers of the range 1 to n. Each element is distinct and appears only once. One integer is missing. Find the missing integer in linear time using O(1) memory. Now two integers are missing, find them out in linear time using O(1) memory. How about three?

11 Answers

"Solve a maze", you have a 2D matrix with 1's as blocked and 0's as path. Find a path from one corner to another, backtracking should be allowed.

7 Answers

Pancakes, size varies, and are put in a stack with random order. You have one operation called Flip(int[] pancakes, int k) to flip all pancakes from the top one to kth pancake, write a sort(int[] pancakes]) method

6 Answers

To return the 'm' smallest numbers from a file of 'n' numbers

8 Answers

Asked to implement a function that takes an integer and returns whether or not the number had an odd or even number of 1 bits.

6 Answers

Given a binary tree with the usual left and right pointers on each node, and additionally a parent pointer, make an algorithm to discover the closest ancestor to 2 nodes on the tree.

7 Answers

You are given an array with n positive integers where all values in the array are repeated except for one. Return the one that is not repeated.

7 Answers