Skip to content

Bug Report for maximum-product-subarray #5795

@rickvian

Description

@rickvian

Bug Report for https://neetcode.io/problems/maximum-product-subarray

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

According to the IEEE 754 standard, negative zero and positive zero should compare as equal
https://en.wikipedia.org/wiki/Signed_zero

Image

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