Software Interview Questions

551,385 software interview questions shared by candidates

A windowless room has 3 lightbulbs. You are outside the room with 3 switches, each controlling one of the lightbulbs. If you can only enter the room one time, how can you determine which switch controls which lightbulb?
avatar

Software Developer

Interviewed at Bank of America

3.9
Jul 30, 2015

A windowless room has 3 lightbulbs. You are outside the room with 3 switches, each controlling one of the lightbulbs. If you can only enter the room one time, how can you determine which switch controls which lightbulb?

First interview was a personality interview. Second was personality again. Third Technical. Fourth with the COO. In the technical, I was asked to debug two code snippets. I was also given 30 minutes to perform a list of technical tasks in Windows.
avatar

Software Support Engineer

Interviewed at Inductive Automation

3.8
Dec 15, 2016

First interview was a personality interview. Second was personality again. Third Technical. Fourth with the COO. In the technical, I was asked to debug two code snippets. I was also given 30 minutes to perform a list of technical tasks in Windows.

You and the interviewer play a game. There are piles of stones on a table, each with a different number of stones. On your turn, you can take from the table any positive number of stones from any single pile. The person who takes the last stone wins. What's your move?
avatar

Software Engineer

Interviewed at Pocket Gems

4.2
Mar 7, 2012

You and the interviewer play a game. There are piles of stones on a table, each with a different number of stones. On your turn, you can take from the table any positive number of stones from any single pile. The person who takes the last stone wins. What's your move?

Given an unsorted list of integers, return true if the list contains any fuzzy duplicates within k indices of each element. A fuzzy duplicate is another integer within d of the original integer. Example: If d=4, then 6 is a fuzzy duplicate of 3 but 8 is not. Do it faster than O(n^2).
avatar

Software Engineering Intern

Interviewed at Palantir Technologies

3.8
Oct 23, 2014

Given an unsorted list of integers, return true if the list contains any fuzzy duplicates within k indices of each element. A fuzzy duplicate is another integer within d of the original integer. Example: If d=4, then 6 is a fuzzy duplicate of 3 but 8 is not. Do it faster than O(n^2).

Viewing 2931 - 2940 interview questions

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