1. You will be given a string
2. You need to print the first non repeating character in the string
3. Input is handled for you
4. It is a functional problem ,please do not modify main()
Input Format
Input is handled for you.
Output Format
Print the first non repeating character in given string Print -1 if no, distinct character present
Constraints
1 <= Length of string <=10^4
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
eprwmbemjp
Output
r