Internship Interview Questions

104,851 internship interview questions shared by candidates

Having a function that generates only 0 or 1, write a function that using the above function to generate integer in the range [0, n] with n given, and by giving same chance to all the numbers by calling only that function.
avatar

Software Engineer(Internship)

Interviewed at Meta

3.5
Nov 1, 2017

Having a function that generates only 0 or 1, write a function that using the above function to generate integer in the range [0, n] with n given, and by giving same chance to all the numbers by calling only that function.

Logical - If you have 9 balls and 1 is defective among them(have more weight) and rest of them are identical to each other. You got one physical balance machine to determine which one it is. So how many steps it would take to get to the answer.
avatar

Internship

Interviewed at Netradyne

3.5
Nov 6, 2019

Logical - If you have 9 balls and 1 is defective among them(have more weight) and rest of them are identical to each other. You got one physical balance machine to determine which one it is. So how many steps it would take to get to the answer.

Viewing 461 - 470 interview questions

Glassdoor has 104,851 interview questions and reports from Internship interviews. Prepare for your interview. Get hired. Love your job.