Pergunta de entrevista da empresa Gracenote

Round 2: Retrieve longest valid password: Given a string find the longest substring that satisfies valid password condition. (Valid Condition: must contain 1 Upper case char; must not contain digit). For eg. string given, "aD0aclsdkf3lksD" then lksD

Resposta da entrevista

Sigiloso

1 de jan. de 2019

Used Regex to find valid substring. updated length variable to max length everytime.