Available question text
Given an array of chalk usage per student cycled repeatedly and k chalk pieces, find the index of the first student whose required chalk is strictly greater than the remaining pieces at their turn. Key insight: subtract full rounds by k %= sum(chalk), then find the first prefix sum > k (via linear scan or binary search on prefix sums).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1894. Find the Student that Will Replace the Chalk
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source