Skip to content

Bug Report for car-fleet #4058

Open
Open
@evanpasko

Description

@evanpasko

Bug Report for https://neetcode.io/problems/car-fleet

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

There are test cases that this solution doesn't account for. When tested, the posted car fleets solution fails. I used leetcode to check the solution, and I've posted the results as a screenshot here:

Image

The problem formulations are identical, so they should in theory pass all test cases.

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