Algorithm · Karat · Easy
You are given a password string. Check it against a set of rules and return a list containing every rule that the password breaks. The rules are: The password's length must be greater than 15. The password must not contain the substring "password", compared without regard to letter case. The password must include at least one uppercase letter and at least one lowercase letter. The password must include at least one of three specified special characters. No single character…