Software Engineer Summer Intern Interview Questions

12,247 software engineer summer intern interview questions shared by candidates

Given a graph where each node is a person and they are connected to their friends, and a method to obtain the friends of a person, write a method to get mutual friends between two people, and write a method to get friends of their friends.
avatar

Software Engineer Intern

Interviewed at Meta

3.5
Nov 21, 2020

Given a graph where each node is a person and they are connected to their friends, and a method to obtain the friends of a person, write a method to get mutual friends between two people, and write a method to get friends of their friends.

you're given a 100 jelly-beans, 50 white and 50 black. You need to set up a game which uses two cups filled with those jelly-beans, you can put a random number of each in each cup, but each cup must have at least one jelly-bean inside. A customer comes up and pick randomly a jelly-bean (it can be white or black), puts it back and then bets money that they can pull out the same color again. As a game provided you want to set it in a way that you have a higher probability of winning the game over a customer. (Hopefully this makes sense)
avatar

Software Developer Intern

Interviewed at Clearwater Analytics (CWAN)

3.5
Nov 7, 2011

you're given a 100 jelly-beans, 50 white and 50 black. You need to set up a game which uses two cups filled with those jelly-beans, you can put a random number of each in each cup, but each cup must have at least one jelly-bean inside. A customer comes up and pick randomly a jelly-bean (it can be white or black), puts it back and then bets money that they can pull out the same color again. As a game provided you want to set it in a way that you have a higher probability of winning the game over a customer. (Hopefully this makes sense)

Viewing 1671 - 1680 interview questions

Glassdoor has 12,247 interview questions and reports from Software engineer summer intern interviews. Prepare for your interview. Get hired. Love your job.