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
Sigiloso
Used Regex to find valid substring. updated length variable to max length everytime.