Auto Corrector

Auto Corrector

You are given a dictionary of lowercase English words and a set of query words. For each query, output the dictionary word with the minimum Levenshtein edit distance from the qu...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: