JavaScript is required for SkillDojo AI to work properly. Please enable JavaScript and refresh the page.
Coding Practice
Coding Challenge · BEGINNER
Given a string, find the first non-repeating character in it and return its index. If it doesn't exist, return -1. The string may contain both lowercase and uppercase letters.