India’s Best Job Seekers and Training Platform Forums Algorithm Solutions Discussion Given a dictionary of words & a miss-spelled input …

  • Given a dictionary of words & a miss-spelled input …

  • Akash 

    Administrator
    at

    Given a dictionary of words & a miss-spelled input, write a function which will find 3 words from the dictionary which are closest (by difference of 1-character) to the given input.

    eg – dict = {vil, sit, flick, pat, pluck, sat, vat}, input = vit, ans = {sit, vil, vat}

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 02nd November 2020. Attend one week free demo classes.Register Now

New Report

Close