Intern Software Interview Questions

17,744 intern software interview questions shared by candidates

you have a n by m matrix. if any row has a 0 turn all entries in that row to 0; same with columns. do this in O(1) constant space. also an interesting data-gathering-with-api question over the phone and some very basic statistics (bayes theorem, etc) for data science
avatar

Software Engineering Intern

Interviewed at Edmodo

3.7
Nov 24, 2013

you have a n by m matrix. if any row has a 0 turn all entries in that row to 0; same with columns. do this in O(1) constant space. also an interesting data-gathering-with-api question over the phone and some very basic statistics (bayes theorem, etc) for data science

The programming question consisted of writing a program to sum up the elements in an array that are divisible by two numbers given. So let's say you have an array [1, 2, 3, ... 10]. Then given two numbers, say 3 and 5, you want to sum up the numbers divisible by 3 or 5 in that array and return the value. So it would be 3+5+6+9+10. Also he asked me some general programming questions like what inheritance is and what the difference between an object and a class is.
avatar

Software Engineer - Intern

Interviewed at Vrbo

3.6
Oct 30, 2013

The programming question consisted of writing a program to sum up the elements in an array that are divisible by two numbers given. So let's say you have an array [1, 2, 3, ... 10]. Then given two numbers, say 3 and 5, you want to sum up the numbers divisible by 3 or 5 in that array and return the value. So it would be 3+5+6+9+10. Also he asked me some general programming questions like what inheritance is and what the difference between an object and a class is.

There are 100 lockers, all closed. On the first pass you alter the state of all lockers (ie closed -> open; open -> closed). On the second you alter the state of every second locker, and so on until you make 100 passes. Which lockers remain open after?
avatar

Software Engineering Intern

Interviewed at TellApart

5
Nov 7, 2013

There are 100 lockers, all closed. On the first pass you alter the state of all lockers (ie closed -> open; open -> closed). On the second you alter the state of every second locker, and so on until you make 100 passes. Which lockers remain open after?

Viewing 481 - 490 interview questions

Glassdoor has 17,744 interview questions and reports from Intern software interviews. Prepare for your interview. Get hired. Love your job.