Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2707. Extra Characters in a String
Given a string s and a dictionary of words, choose non-overlapping substrings of s that are dictionary words to maximize covered characters (equivalently minimize the number of unused "extra" characters). The core challenge is selecting optimal matches across positions — typically solved with position-based dynamic programming often aided by trie/fast substring checks.
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.