Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2060. Check if an Original String Exists Given Two Encoded Strings
Determine whether two strings of letters and digit-substrings (where digits represent lengths of omitted substrings) can both be encodings of the same original string. The core challenge is matching the two encodings by exploring states (positions in each string plus the net unmatched length difference) via DFS/DP with memoization, treating digit runs (≤3 digits) as variable-length skips.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.