Longest Match Tokenizer
Google interview questions · Medium · Coding round · 6 tests
Tokenize text greedily using the longest dictionary match at each position.
The full question, tests and reference solution are available with a plan that includes Google.
Run your code with Ctrl+Enter to see results.