Internship Interview Questions

104,861 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.

A worker is to perform work for you for seven straight days. In return for his work, you will pay him 1/7th of a bar of gold per day. The worker requires a daily payment of 1/7th of the bar of gold. If you were only able to make 2 cuts to the gold bar, describe how this will allow you to pay him 1/7th each day?
avatar

Consultant Internship

Interviewed at CGI

3.7
Mar 8, 2013

A worker is to perform work for you for seven straight days. In return for his work, you will pay him 1/7th of a bar of gold per day. The worker requires a daily payment of 1/7th of the bar of gold. If you were only able to make 2 cuts to the gold bar, describe how this will allow you to pay him 1/7th each day?

Viewing 481 - 490 interview questions

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