The recruiter reached out to me, I completed the online assessment, and then proceeded to the phone screen.
1 behavioral questions and 1 technical question:
Variation of https://leetcode.com/problems/concatenated-words/
Given a large list of words. Some of these are compounds, where all parts are also in the List. Write a method that will find all combinations where one word is a composite of two or more words from the same list and return them.
Input: [rockstar, rock, stars, rocks, tar, star, rockstars, super, highway, high, way, superhighway]
Output: [[rock, star], [rocks, tar], [super, highway], [super, high, way],...]
Comments (5)


