https://www.hackerearth.com/practice/data-structures/advanced-data-structures/trie-keyword-tree/practice-problems/algorithm/online-k-mex-007daa77/description/ I am not getting how to answer each query efficiently in this! Please someone come to my rescue!