Prune Prefix Words
Roblox interview questions · Medium · Coding round · 6 tests
Remove every keyword that is a strict prefix of another keyword while preserving the surviving words in their original order.
The full question, tests and reference solution are available with a plan that includes Roblox.
Run your code with Ctrl+Enter to see results.