CreditVidya interview question

Remove Duplicates from Given Array First non Repeating charecter

Interview Answer

Anonymous

Feb 10, 2022

i approached the problem in O(n^2) and then i reduced the time complexity to O(n). i used Arrays, HashSet and LinkedList