Skip to content

Bug Report for dota2-senate #6095

Description

@SalmanSattar24

Bug Report for https://neetcode.io/problems/dota2-senate

Example 1:

Input: senate = "RRDDD"

Output: "Radiant"
Explanation:

The first 'R' takes the rights of the first 'D'.
THe second 'R' takes the rights of the second 'D'.
The next two 'D's have lost their rights.
The last 'D' takes the rights of the first 'R'.
The last remaining 'R' takes the rights of the last 'D'.
As only 'R' is left, he announces the victory.

The explaination does not match the example.

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