Predict most likely next word from training data | Bloomberg Interview Question