Bug Report for https://neetcode.io/problems/stone-game Please describe the bug below and include any steps to reproduce the bug or screenshots if possible. even is (r - l) % 2 == 0 but it should be : even = (r - l+1) % 2 == 0
Bug Report for https://neetcode.io/problems/stone-game
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
even is (r - l) % 2 == 0
but it should be :
even = (r - l+1) % 2 == 0