Non Repeating Character || Flipkart Series-9 || Code || Explanation || GFG
Given a string S consisting of lowercase Latin Letters. Return the first non-repeating character in S. If there is no non-repeating character, return '$'.
Example 1:
Input:
S = hello
Output: h
Explanation: In the given string, the
first character which is non-repeating
is h, as it appears first and there is
no other 'h' in the string.
Follow Me On Social Media
Facebook:- / mdsaifraza.raza.526
LinkedIn:- linkedin.com/in/md-saif-raza-99941523a
Twitter:- / mdsaifr10053951
Instagram:- / saif_raza8544