Internship Software Interview Questions

25,075 internship software interview questions shared by candidates

If there are n socks in a drawer of a finite number of different colors, and you can only see the sock at the top of the stack of socks at a time, how many would you need to remove to be sure of the number of colors of socks?
avatar

Software Engineer(Internship)

Interviewed at J.P. Morgan

3.9
Apr 23, 2018

If there are n socks in a drawer of a finite number of different colors, and you can only see the sock at the top of the stack of socks at a time, how many would you need to remove to be sure of the number of colors of socks?

Viewing 1131 - 1140 interview questions

Glassdoor has 25,075 interview questions and reports from Internship software interviews. Prepare for your interview. Get hired. Love your job.