Division Manager Interview Questions

1,010 division manager interview questions shared by candidates

Group Anagrams 1) Given a list of words, group them by anagrams Input: List of "cat", "dog", "god" Output: A Set of Sets of anagrams: {{'cat'}, {'dog', 'god'}} 2) Run this code in the REPL to observe its behaviour. The execution entry point is main(). 3) Consider adding some additional tests in doTestsPass(). 4) Implement the AnagramSolution group() method correctly. 5) If time permits, try to improve your implementation.
avatar

Technology Division

Interviewed at Goldman Sachs

3.7
Jan 24, 2018

Group Anagrams 1) Given a list of words, group them by anagrams Input: List of "cat", "dog", "god" Output: A Set of Sets of anagrams: {{'cat'}, {'dog', 'god'}} 2) Run this code in the REPL to observe its behaviour. The execution entry point is main(). 3) Consider adding some additional tests in doTestsPass(). 4) Implement the AnagramSolution group() method correctly. 5) If time permits, try to improve your implementation.

Viewing 791 - 800 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,010 interview questions and reports from Division manager interviews. Prepare for your interview. Get hired. Love your job.