Digital dictionary code

@proPram here is my code for Digital Dictionary plz review it.

You need to ignore the cases and your code should except both the cases as same:

For eg, Pe and pe both are prefix to peter.
But, your program is failing to do so.

Hope, this would help.

now i ignored the case pe or PE both are prefix to peter

So, is it still giving trouble?
Attach your code, I’ll check.

I guess, I have solved your doubt on another thread.
Please, mark it as resolved.