Menu
Coddy logo textTech

First Non-Repeating Character

Lesson 12 of 12 in Coddy's Python Interview Series course.

challenge icon

Challenge

Medium

Write a function firstNonRepeating that gets,

  • a1 - string

Given a string a1 consisting of lowercase Latin Letters, the task is to find the first non-repeating character in a1.

 


Example:

Input - coddytech

Expected Output - o

 

Try it yourself

def firstNonRepeating(a1):
    # Write code here

All lessons in Python Interview Series