Problem clarification and contract
10%Senior signals
- ✓Clarifies that 1 <= k <= array length, confirms the output should have exactly (length - k + 1) values, and asks about behavior for duplicate maximums within a window.
- ✓Confirms whether the array can contain negative values.
Staff-level signals
- ◆Asks about expected array size to justify pursuing a linear-time solution.
Common red flags
- ×Codes immediately while assuming k is always small without confirming its relationship to array length.
