Dashboard
Problems
Roadmap
Leaderboard
Sign Up
Log In
Problems
easy
First Repeating Character
2 Koda Coins
⏱ Set Timer
Description
Examples
Editorial
First Repeating Character
easy
⏱ 2s limit
💾 64 MB
Description
Find the first repeating character in a string.
Input Format
String.
Output Format
The character, or -1.
Python 3
C++17
C
Java
JavaScript
Run
Submit
Output
Verdict
▲ Expand