Skip to content

Commit dccca52

Browse files
Refactor whitespace and imports in koko_eating_bananas.py
Added an empty line after the problem link and cleaned up trailing whitespace for better readability. These changes improve code formatting while maintaining functionality.
1 parent 12d6d2b commit dccca52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Binary Search/koko_eating_bananas.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# https://neetcode.io/problems/eating-bananas
2+
23
import math
34
import unittest
45
from typing import List
@@ -8,7 +9,7 @@ def min_eating_speed(piles: List[int], hours: int) -> int:
89

910
left = 1
1011
right = max(piles)
11-
12+
1213
result = right
1314

1415
while left <= right:

0 commit comments

Comments
 (0)