Skip to content

Find the First Non-Repeating Character in a String #133

Description

@bhushan-ssh

Create a Java program that finds the first character in a string that appears only once.

Example:

Input:

swiss

Output:

First non repeating character: w

Requirements:

Take string input from user
Count character frequency
Return first character with frequency 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions