First Unique Character

Easy

📝 Description

Find the first non-repeating character in a string

Input Format

A string

Output Format

First unique character or "_" if none

Constraints

1 ≤ string.length ≤ 1000

🔍 Sample Input

"hello"
            

✅ Sample Output

"h"
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run