Single Number II : Unsolved
About the Single Number II : Unsolved category
TC : O(N) & SC : O(1) with easy & understandable code!
Extra space allocation
Sort(A.begin(),A.end()) gives error why?
Explanation for the hint
Why Bit? Sorting will also do it in O(32N)
Expected Output and WA Explaination
Question does not work on negative integers
Shows time limit exceeds
Can the number appear more than thrice?
Find that single one = find that one element or find that element that appears o
next page →