Problems
easyFirst Repeating Character
2 Koda Coins

First Repeating Character

easy2s limit💾 64 MB

Description

Find the first repeating character in a string.


Input Format

  • String.

  • Output Format

  • The character, or -1.