Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 8557974

Browse files
committed
Added multiple solution disambiguation to donuts question
1 parent 690aa76 commit 8557974

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

competition/donuts/prob.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Homer's stomach has unlimited capacity, but he begins his journey at one of the
2424

2525
Your task is to pinpoint the **starting Krispy Kreme's index** that allows Homer to complete the entire circular route once, going clockwise, without collapsing. If it's impossible for him to make the full trip, return **-1**.
2626

27-
Rest assured, there's at most one valid starting point.
27+
If there are more than one valid starting points, return the smallest one.
28+
Since Homer is lazy, ideally he doesn't want to start from a Krispy Kreme too far from his home (which is nearest to the first one).
2829

2930
## Input
3031

0 commit comments

Comments
 (0)