Candy consumption
Filed under Vehant Technologies
The question
Given n candies, eating k candies gives 1 extra. Find max candies eaten in O(n).
No write-up yet. Related questions below have one.
Related Vehant Technologies questions
Collected from public candidate posts and coding forums. Updated Nov 2026.