JAVA_LeetCode 2299_Strong Password Checker II 풀이 class Solution { public boolean strongPasswordCheckerII(String password) { // 포함여부를 확인하여 반환한다. if(password.length() < 8) return false; String check = "!@#$%^&*()-+"; boolean bool1 = false, bool2 = false, bool3 = false, bool4 = false; for (char ch : password.toCharArray()) { if (Character.isLowerCase(ch)){ bool1 = true; }else if(Character.isUpperCase(ch)){ bool2 = true; }else if(Character.isDigit(ch)){ bool3 = true; }else if(check.indexOf(ch) !
= -1...
#
JAVA
#
JAVA_LeetCode2299
#
JAVA_LeetCode2299_StrongPasswordCheckerII
#
JAVA_StrongPasswordCheckerII
#
LeetCode2299_StrongPasswordCheckerII