Single Number Problem Explained from Brute to Optimal Approach
Feb 6 · 4 min read · We today will be looking at the ‘Single Number‘ problem which asks us to find the number in a given array, that appears once while all other numbers appear twice. BRUTE FORCE APPROACH We pick up every element and perform a search throughout the a...
Join discussion