Pregunta de entrevista de Snap

Design a recommendation system for messaging to predict the next word while typing