Find the first repeated character in a string - GeeksforGeeks
Given a string, find the first repeated character in it. We need to find the character that occurs more than once and whose index of first occurrence is smallest.Read full article from Find the first repeated character in a string - GeeksforGeeks
No comments:
Post a Comment