First recurring character
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:
Input = "aclksk"
Output = k
Input = "qwertyuio"
Output = No repeated characters
Subscribe to premium account to see the solution.Get premium now