Intern Interview Questions

249,610 intern interview questions shared by candidates

Given an input of a 3D matrix of ones and zeros, count the number of contiguous 1-filled regions (as separated by 0-filled regions), as well as the size of the largest one (I think; doesn't really change the problem much). I forget what these were called...
avatar

Forward Deployed Engineering Intern

Interviewed at Palantir Technologies

3.7
Feb 19, 2013

Given an input of a 3D matrix of ones and zeros, count the number of contiguous 1-filled regions (as separated by 0-filled regions), as well as the size of the largest one (I think; doesn't really change the problem much). I forget what these were called...

Verify BST
avatar

Intern

Interviewed at Arista Networks

4.1
Jan 26, 2016

Verify BST

A king wants to hold a party, for which he has 8 kegs of wine, one of which he knows is poisoned. If someone consumes any of the poisoned wine, he will drop dead in exactly one months time. The king has 3 servants who have volunteered their lives to test the kegs of wine. What is the shortest amount of time in which the king can identify which keg of wine is poisoned and dispose of it so he can hold the party.
avatar

Trading Intern

Interviewed at Susquehanna International Group

3.8
Feb 11, 2014

A king wants to hold a party, for which he has 8 kegs of wine, one of which he knows is poisoned. If someone consumes any of the poisoned wine, he will drop dead in exactly one months time. The king has 3 servants who have volunteered their lives to test the kegs of wine. What is the shortest amount of time in which the king can identify which keg of wine is poisoned and dispose of it so he can hold the party.

Viewing 381 - 390 interview questions

Glassdoor has 249,610 interview questions and reports from Intern interviews. Prepare for your interview. Get hired. Love your job.