Replacing Words with Their Shortest Root Prefix
Problem Description
In English, there exists a concept called root which can be combined with other words to form longer words called successors. To example, the root "an" combined with "other" forms the word "another".
Given a dictionary of roots and a sentence, replace all successor words in the sentence with the ...
Posted on Thu, 01 Oct 2026 16:10:25 +0000 by sgalatas