Digital_Dictionary

question seems to be easy but all test case are failed
iam just searching input prefix in database string and print it ,but still getting all wrong answer .Is there any trick in this question

Hi @Akashkumar, can you pls save your code on ide.codingblocks.com and share the URL here. Also there is a trick but it should also work using the normal approach.