Developer Intern Interview Questions

12,166 developer intern interview questions shared by candidates

given the utitlies getFriend(User u) and areFriends(User u1, User u2), write the function which takes as parameter the array of users and return a bool saying if you can divide the users in 2 groups s.t. if u1 and u2 both belong to a certain group, they are not friends.
avatar

Software Engineer Intern

Interviewed at Meta

3.6
Jan 23, 2012

given the utitlies getFriend(User u) and areFriends(User u1, User u2), write the function which takes as parameter the array of users and return a bool saying if you can divide the users in 2 groups s.t. if u1 and u2 both belong to a certain group, they are not friends.

There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.
avatar

Software Engineer Intern

Interviewed at Cisco

4.1
Sep 10, 2013

There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.

Viewing 91 - 100 interview questions

Glassdoor has 12,166 interview questions and reports from Developer intern interviews. Prepare for your interview. Get hired. Love your job.