Software Developer New Grad Interview Questions

3,049 software developer new grad interview questions shared by candidates

You have a deck of cards and randomly draw two cards at a time. If you get 2 blacks, black gets a point. If you have 2 reds, red gets a point. If you have red and black, neither get a point. What is the percentage chance that both score the same.
avatar

Software Engineer New Grad

Interviewed at Zynga

4
Feb 14, 2013

You have a deck of cards and randomly draw two cards at a time. If you get 2 blacks, black gets a point. If you have 2 reds, red gets a point. If you have red and black, neither get a point. What is the percentage chance that both score the same.

1. Initial screening round (1 hour) : One coding question, medium level on leetcode. 2. Onsite round (5 rounds) : 4 Technical round + 1 Behavioral round. Round 1 & 2 : Design a game which has multiple phases with increasing difficulty of each phase. Round 3 : Two questions - one easy and one medium level Round 4 : one hard level trie related question Round 5 : very interactive behavioral round for 30 mins.
avatar

Software Engineer New Grad

Interviewed at Snap

3.4
Jun 17, 2021

1. Initial screening round (1 hour) : One coding question, medium level on leetcode. 2. Onsite round (5 rounds) : 4 Technical round + 1 Behavioral round. Round 1 & 2 : Design a game which has multiple phases with increasing difficulty of each phase. Round 3 : Two questions - one easy and one medium level Round 4 : one hard level trie related question Round 5 : very interactive behavioral round for 30 mins.

You have an unsorted array of integers and a function........string getCategory(integer)........which deterministically returns 1 of three possible strings: "low", "medium", or "high", depending on the input integer. You need to output an array with all the "low" numbers at the bottom, all the "medium" numbers in the middle, and all the "high" numbers at the top. This is basically a partial sort. Within each category, the order of the numbers does not matter...For example, you might be give the array [5,7,2,9,1,14,12,10,5,3]. For input integers 1 - 3, getCategory(integer) returns "low", for 4 - 10 it returns "medium," and for 11 - 15 it returns "high". You could output an array (or modify the given array) that looks like this: [3,1,2,5,5,9,7,10,14,12]
avatar

Software Engineering New Grad

Interviewed at Meta

3.6
Oct 27, 2015

You have an unsorted array of integers and a function........string getCategory(integer)........which deterministically returns 1 of three possible strings: "low", "medium", or "high", depending on the input integer. You need to output an array with all the "low" numbers at the bottom, all the "medium" numbers in the middle, and all the "high" numbers at the top. This is basically a partial sort. Within each category, the order of the numbers does not matter...For example, you might be give the array [5,7,2,9,1,14,12,10,5,3]. For input integers 1 - 3, getCategory(integer) returns "low", for 4 - 10 it returns "medium," and for 11 - 15 it returns "high". You could output an array (or modify the given array) that looks like this: [3,1,2,5,5,9,7,10,14,12]

Viewing 41 - 50 interview questions

Glassdoor has 3,049 interview questions and reports from Software developer new grad interviews. Prepare for your interview. Get hired. Love your job.