All questions

Intermediate · Java · Collections

Java: first non-repeating character

Commonly asked: Java automation / SDET interview rounds · ~8 min

Write static char firstUnique(String s) returning the first character that appears once.

Checking your membership…