DEV Community

Discussion on: Daily Challenge #33 - Did you mean...?

Collapse
 
hazelowen profile image
hazelowen

There's no validation of the input to decode. Also, I'm not sure if the second test provided for decode is correct. I'm not getting any English words out of it, but my decode function hasn't failed besides that test.
The lev function is a recursive implementation of the Levenshtein distance from the Wikipedia article happy wheels