threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 137. Single Number II #1392

Closed threeal closed 1 month ago

threeal commented 1 month ago

This issue suggests solving the problem 137. Single Number II. To achieve this, one can use a "magic" to track whether a number appears once or twice using some bit manipulation.