Your question is Text Cleaning and Next-Word Prediction. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Given a text corpus, perform text cleaning and implement logic for predicting probable next words.
Asked in the Round 3, Technical stage. Focus on natural language processing.
Explain how you would build the practical solution, including preprocessing, training data construction, prediction logic, evaluation, and handling unseen words or phrases. Discuss how the design would change if the predictor needed to serve interactive requests at scale.