Problem clarification and contract
10%Senior signals
- ✓Clarifies case sensitivity, allowed character set (ASCII vs. broader Unicode), and behavior for an empty string.
- ✓Confirms the answer should be a length, not the substring itself, unless asked otherwise.
Staff-level signals
- ◆Asks about expected input size to gauge whether an O(n) approach is necessary.
Common red flags
- ×Codes immediately while assuming ASCII-only input without confirming.
