Design an algorithm to predict the next word or phrase one is typing on a phone. | Google Interview Question | Practice Free | SkillVee