Skip to content

Bug Report for max-water-container #4775

@manav-g27

Description

@manav-g27

Bug Report for https://neetcode.io/problems/max-water-container

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

Please have a look at test case height=[1,7,2,5,12,3,500,500,7,8,4,7,3,6] where answer is 500 and code is running and giving answer correctly when used for dry run but on submission answer is coming to be 744.

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