Apple logoApple
CodingMembers

One Edit Distance

Members only

Given two strings s and t, return true if they are both exactly one edit distance apart, otherwise return false.

SWE
medium
string
two-pointer
Frequency
Single report
Last asked
2026-02-11
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...