Software Interview Questions

550,960 software interview questions shared by candidates

You have a set of envelopes of different widths and heights. One envelope can fit into another if and only if both the width and height of one envelope is greater than the width and height of the other envelope. What is the maximum number of envelopes can you russian doll?
avatar

Software Engineering Intern

Interviewed at Palantir Technologies

3.7
Jun 3, 2013

You have a set of envelopes of different widths and heights. One envelope can fit into another if and only if both the width and height of one envelope is greater than the width and height of the other envelope. What is the maximum number of envelopes can you russian doll?

Given a string of parantheses, brackets, and curly braces, write a function that returns whether the string is well balanced, in that every left delimiter is closed by the correct right delimiter. I was asked this question by multiple interviewers, it seems like their go-to question.
avatar

Software Engineering Intern

Interviewed at MongoDB

4
Jan 13, 2014

Given a string of parantheses, brackets, and curly braces, write a function that returns whether the string is well balanced, in that every left delimiter is closed by the correct right delimiter. I was asked this question by multiple interviewers, it seems like their go-to question.

Given a tree where every right node is a leaf, meaning that it can only extend on the left side, invert it such that the leftmost node is now the root, and all of the previous left nodes are now on the right side. The former right nodes will be on the left side.
avatar

Software Engineer

Interviewed at LinkedIn

3.8
Oct 28, 2015

Given a tree where every right node is a leaf, meaning that it can only extend on the left side, invert it such that the leftmost node is now the root, and all of the previous left nodes are now on the right side. The former right nodes will be on the left side.

Viewing 1521 - 1530 interview questions

Glassdoor has 550,960 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.