Skip to content

Commit f3d4c94

Browse files
Update algorithms/search/binary_search/magnetic_force_between_two_balls/README.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent ef9930c commit f3d4c94

File tree

1 file changed

+1
-1
lines changed
  • algorithms/search/binary_search/magnetic_force_between_two_balls

1 file changed

+1
-1
lines changed

algorithms/search/binary_search/magnetic_force_between_two_balls/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ Explanation: We can use baskets 1 and 1000000000.
4949
## Hints
5050

5151
- If you can place balls such that the answer is x then you can do it for y where y < x.
52-
- Similarly if you cannot place balls such that the answer is x then you can do it for y where y > x.
52+
- Similarly if you cannot place balls such that the answer is x then you cannot do it for y where y > x.
5353
- Binary search on the answer and greedily see if it is possible.

0 commit comments

Comments
 (0)