Grad Interview Questions

8,336 grad interview questions shared by candidates

Given an array of point structure element whose X and Y values are both int, write a boolean function to decide whether there is any midpoint(at least 1) of any two points in the array whose X and Y coordinate value are all integer.
avatar

Software Engineer New Grad

Interviewed at Microsoft

4
Oct 1, 2017

Given an array of point structure element whose X and Y values are both int, write a boolean function to decide whether there is any midpoint(at least 1) of any two points in the array whose X and Y coordinate value are all integer.

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.1
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.

Viewing 51 - 60 interview questions

Glassdoor has 8,336 interview questions and reports from Grad interviews. Prepare for your interview. Get hired. Love your job.