Skip to content

Wrong output for TC: [3,3,8,8] . #32

Description

@AyushSriv06

The answer for this testcase on Leetcode is TRUE, but the website says no solution found.
Possible solution:
Add error handling for the final output, i.e. abs(ans - 24.0) <= 1e-6
This can arise due to floating point coversions and rounding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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