Skip to content

Bug Report for two-integer-sum-ii - Given test case doesn't satisfy given constraints causing correct code to fail #4029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KMDynamics opened this issue Apr 9, 2025 · 0 comments

Comments

@KMDynamics
Copy link

The problem shows the constraints as

Constraints:
2 <= numbers.length <= 1000
-1000 <= numbers[i] <= 1000
-1000 <= target <= 1000

but my code failed with a given test case using target=-1300, which doesn't meet the constraints for target.

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant