First Unique Character in a String at Qualcomm

Easy65.0% acceptance

This problem has 50.0% frequency at Qualcomm.

Problem Description

Given a string `s`, find the **first** non-repeating character in it and return its index. If it **does not** exist, return `-1`.

Read full problem and hints

Topics

Also asked at 24 companies


More Qualcomm Questions

View all Qualcomm questions