First Non-Repeating Character Index
Easy
Frequency Counting
Print the 0-based index of the first character that appears exactly once, or -1.
Constraints
1 <= |s| <= 10^5
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.