Write a function to find first non repeated character from given string?
Login to Submit
Input: "mam" Output: "a" Input: "pen" Output: "p" Input: "paper" Output: "a" Input: "mathematics" Output: "h"