You are given a string s. Write a function that determines if there exists a substring k that can be repeated more than once to form the string s exactly as it appears. If such a substring exists, return the longest possible substring k. Otherwise, return -1.
Write a function that receives a string consisting only of alphabetical characters. The function should return the first non-repeating character from the string.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?