We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Strings
- Strong Password
- Discussions
Strong Password
Strong Password
Sort by
recency
|
882 Discussions
|
Please Login in order to post a comment
Java
if(!m1.find()){ count++; System.out.println("xx"); } if(!m2.find()){ count++; } if(!m3.find()){ count++; } if(!m4.find()){ count++;
}
JAVA solution with regex public static int minimumNumber(int n, String password) {
if(password.matches("^.[A-Z]{1,}.$")) meetCriterias ++;
int minimumNumber(int n, char* password) { // Return the minimum number of characters to make the password strong int length=0,digit=0,lowercase=0,uppercase=0,special_character=0; int count=0; for(int i=0;i
}
is problem ke liye https://youtu.be/PHMuSMQm33I?si=gjN00LnlZNzkfnPM is video ko dekh lo