Single Number
🧠 Problem
Given a non-empty array of integers nums, every element appears twice except for one. Find that single one. You must implement a solution with a linear runtime complexity and use only constant extra space.
🏷️ Tags
Array,Bit Manipulation
📊 Difficulty
Easy
✅ Success Rate: 69.3%
📥 Submissions: 2,321,213
📈 Accepted: 1,608,367
❤️ Reactions
👍 Likes: 9569
👎 Dislikes: 339
💡 Hints
🔁 Similar Questions
- Single Number II
- Single Number III
- Missing Number
- Find the Duplicate Number
- Find the Difference