PASSED
Attempts
1
Time
22 min
Tutor turns
4
Communication
66/100
Tutor conversation
4 turnsWhat changes as the window slides one step right?
10:22One element leaves on the left, one enters on the right.
10:23Exactly. So what's the cheapest update?
10:23Subtract leaving, add entering. O(1) per step.
10:24
AI assessment of the conversation
Conversation signals are mixed — review the transcript for context.
Character rubric
Soft-skill signals inferred from the conversation pattern, attempts and pace.
- Grit60
- Curiosity61
- Initiative74
- Speed64
- Resilience64
- Communication66
Academic rubric · this submission
- Problem decomposition76
- Algorithmic thinking74
- Code quality80
- Debugging discipline68
- Communication with tutor66
Code submission
def max_window_sum(nums, k):
if k > len(nums): return 0
window = sum(nums[:k])
best = window
for i in range(k, len(nums)):
window += nums[i] - nums[i - k]
best = max(best, window)
return best