leetle

Daily challenge for 2025-04-23

113. First Unique Character in a String

Write a function solve that returns the index of the first non-repeating character in a string, or -1 if none exists.

Example:
Input: "leetcode"
Output: 0

Run this challenge interactively in Python or JavaScript when the app loads.