Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 15, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

EricccTaiwan and others added 2 commits March 12, 2025 02:37
- Changed `int` to `long long` for variable `s` to prevent
  overflow when handling `INT_MIN` (`-2147483648`).
- Updated `t` to use `long long` to ensure correctness in
  bit manipulation.
- Fixes issue with new test case: `nums = [1,1,0,-2147483648]`,
  where `int` overflowed due to `s & (s-1)`.
Fix integer overflow in LC260. Single Number III
@pull pull bot added the ⤵️ pull label Mar 15, 2025
@pull pull bot merged commit 86e4150 into AlgorithmAndLeetCode:master Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants