Skip to content

Bug Report for stone-game #5288

@Srikeerthibandi

Description

@Srikeerthibandi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions