Digital Dictionary

Getting wrong answers

Anybody please answer :pray: :pray:

Consider the case: You have “hor” string in the dictionary and u are asked “horse” then answer should be no suggestions but in your code the vector will not be empty so, it will not print that. Try to correct this.


Still getting testcase 1,2 ,3 wrong

Hey @Ankit003 please reply.

Try to think of a solution using tie.

ok but can you tell why my this approach lacking