Strings Exactly One Edit Apart

Asked at Apple · Coding Questions · Difficulty: Medium

Two strings are one edit apart when a single change turns one into the other. Implement a function that decides whether two given strings are exactly one edit apart.

Loading the problem…