Trie interview problem

sir why cant get output

sir why my code not working please tell so that i will not make mistake furthure

sir i make the changes myself now my output is correct but my three test case are failling why https://ide.codingblocks.com/s/267876