Amazon | Virtual Onsite | SDE 3
Anonymous User
1774

Find the most granular words from list of words.

Example:

Input : ['athens', 'greece', 'athensgreece', 'felix', 'felixathensgreece', 'greeceathens']

Output: ['athens', 'greece', 'felix']

Comments (7)