Google interview question

design a virtual keyboard, word prediction algorithm, datastructure problems on tree.