Software Development Engineer Interview Questions | Glassdoor

Software Development Engineer Interview Questions

4,121

Software development engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Using only putchar how would you print out the ascii values for each digit in an integer. For example if the integer was 123, then you would want to print the ascii values for 1, 2, and 3.

5 Answers

Write an algorithm to verify if a tree is a binary search tree.

5 Answers

Write a program that sees if two binary trees are equal.

6 Answers

Given an array, return the nth largest.

4 Answers

Given two (huge) sets, what is an efficient way to find their intersection?

4 Answers

How would you find a duplicate number in a very large unsorted array of ints.

4 Answers

Find the longest subsequence in a given array of numbers in O(n)

4 Answers

I was asked a pretty straight forward brain teaser during my last phone interview, which they said they don't normally do, but because I put that I was a logical problem solver on my resume they couldn't resist the opportunity to. It was the following "There are 20 different socks of two types in a drawer in a completely dark room. What is the minimum number of socks you should grab to ensure you have a matching pair?"

9 Answers

Print all permutations of a given string.

4 Answers

I got questions like "Given a dictionary of words, how do you calculate the anagrams for a new word".

4 Answers