标签:require turn password insert condition ide write replace ons
A password is considered strong if below conditions are all met:
Write a function strongPasswordChecker(s), that takes a string s as input, and return the MINIMUM change required to make s a strong password. If s is already strong, return 0.
Insertion, deletion or replace of any one character are all considered as one change.
s
[LeetCode] Strong Password Checker 密码强度检查器
标签:require turn password insert condition ide write replace ons
原文地址:http://www.cnblogs.com/grandyang/p/5988792.html