a password consider strong condition metit 6 character 20 charactersIt contain lowercase letter uppercase letter digitIt contain repeat character row ie aaa weak aaa strong assume condition metgiven string password return minimum number step require password strong password strong return 0in step caninsert character passworddelete character password orReplace character password character Example 1input password aOutput 5example 2input password aA1Output 3example 3input password 1337c0d3output 0 Constraints1 passwordlength 50password consist letter digit dot exclamation mark