about | help | code help+videos | done | prefs |
isPasswordValid
A valid password should have at least 6 characters. It also must have at least one uppercase letter, one lowercase letter, one digit, and one special character that is not a letter or digit. Given a string contains a password, return true if the password is valid, return false otherwise. isPasswordValid("aA&6") → false isPasswordValid("AB1234ab*") → true isPasswordValid("A1a****") → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy