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.
Intern Engineer Interview Questions
24,105 intern engineer interview questions shared by candidates
Determine the 10 most frequent words given a terabyte of strings.
How would you print a large, balanced degree-bound tree in breadth first order, using only O(1) space?
Implement square root function using basic operations ?
How to retrieve a file with a specific string or keyword using UNIX command line
Given a word and a list of valid English words, return a list of all valid words that can be made by permuting the characters in the given word.
Calculate the square root of a number.
2nd largest number in an array
Given two linked lists, find out IF they intersect.
Find the max ;length palindrome in an input string.
Viewing 171 - 180 interview questions