Рет қаралды 23,885
In this video we will find the first non repeating character in a string. we will use a hash-map to store the frequency of every character in the string and then we will try to traverse the string from front and check the character whose frequency is 1. The first character that which has a frequency of 1 is the the first non repeating character