Pergunta de entrevista da empresa Horizontal Digital

First non repeating character in a string, Valid Paranthesis