Senseforth.ai interview question

Finding prefixes in an unknown language.