2
public boolean strongPasswordCheckerII(String password) {3
HashSet<Integer> intAscii = new HashSet<>();4
String specialCharacters = "!@#$%^&*()-+";5
for (int i = 0; i < specialCharacters.length(); i++) {6
int ascii = specialCharacters.charAt(i);10
if (password.length() < 8) {13
boolean small = false;14
boolean large = false;15
boolean numbers = false;16
boolean specialChars = false;17
for (int i = 0; i < password.length(); i++) {18
int ascii = (int) (password.charAt(i));19
if (ascii <= 90 && ascii >= 65) {22
if (ascii <= 122 && ascii >= 97) {25
if (ascii <= 57 && ascii >= 48) {28
if (intAscii.contains(ascii)) {31
if (i > 0 && password.charAt(i) == password.charAt(i - 1)) {35
if (large == false || small == false || numbers == false || specialChars == false) {