Intern Engineer Interview Questions

18,167 intern engineer 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.

Viewing 141 - 150 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 18,167 interview questions and reports from Intern engineer interviews. Prepare for your interview. Get hired. Love your job.