We have to find the one character which appears only once in the given
string or give zero if there is not such character.