Comments

can anybody tell me how to reduce time complexity of my code for the problem Autocomplete Strikes Back

(http://codeforces.me/gym/100587/submission/9562793)