Day 16 of My DSA Journey 🚶♀️
The Problem
Given a non-empty array of integers,every element appears twice except one.Find that single element.
Example 1
Input: [2, 2, 1]
Output: 1
Example 2
Input: [4, 1, 2, 1, 2]
Output: 4
Only one number appears once.All others appear exac...
richak.hashnode.dev5 min read