First recurring character

Easy

Write a function that returns the first recurring character in a given string. If a string does not have a recurring character, return "No repeated characters". Examples below:...

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...