First unique character

Given a string, find and return the first non repeated i.e. unique character in a given string.

Assume there is at least one unique character present in the input string.

Sample Input :
abcacbdebg
Sample Output :
 d

Login to submit your solution

Fb dab53a1a64929320dc7425896aa73fd9e5512b6ab52e414ff5f3ebb5cecc73eb

Share Problem