Intern Software Interview Questions

17,740 intern software 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 181 - 190 interview questions

Glassdoor has 17,740 interview questions and reports from Intern software interviews. Prepare for your interview. Get hired. Love your job.