First Non-Repeating Character
Lesson 12 of 12 in Coddy's Python Interview Series course.
Challenge
MediumWrite 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 hereAll lessons in Python Interview Series
1Crack Python Coding Interview
Lesser of two evensPangram Unique ElementsAnimal CrackersSpy GameMatching StringPalindrome or NotBlackJackFind DuplicatesEncodeHash 33First Non-Repeating Character