JPMorgan Chase logoJPMorgan Chase
Coding·60 minMembers

Delete-One-Character Positions

Members only

Given strings `s1` and `s2`, where `s2` can be obtained by deleting one character from `s1`, return all deletion positions that make the transformation valid.

SWE
string
two-pointer
string-processing
oa
easy
Frequency
Single report
Last asked
2025-07-29
Stage
oa · tech-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...