You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on divide and conquer approach.
Higher overheads but it takes O(n) time for O(1) unique keys. So it is used when working with arrays with large number of duplicates.