input
stringlengths 790
840
| output
sequencelengths 1
1
| id
stringlengths 40
40
|
---|---|---|
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = MqJCg
Output:
| [
"1"
] | task956-70f0584e78a947d981b85dd858b353d1 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = pUIM.6UGpEWbXftXAabSZrT7NGums.sFJ!8ii2BuniE
Output:
| [
"23"
] | task956-86c246c43194489f8b86492058db3551 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = d1iHAAffX4lvWMqRa
Output:
| [
"0"
] | task956-ab98fe3137394389bb0ef61f8c036451 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = NIt!ZL1fK5KfW9hzUYw!EYLQe54HMm6uUZsdtDUdziFfQy
Output:
| [
"26"
] | task956-dd78f55673854febb309ad28c214ba53 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ds
Output:
| [
"4"
] | task956-64af6fcb91c6406c8f03b8bf4ff51fc1 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = qGFXXPFS!9aq8eJrQs!spycROIawebG5b8
Output:
| [
"14"
] | task956-b93b0baf278a4477b83196549555543a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = QKM3ZhWND!Hh
Output:
| [
"0"
] | task956-e9f614278a3e49b5a7920fa7d03e1716 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = OlAPu
Output:
| [
"1"
] | task956-daab16767b2f43c8911ce73d37fe4683 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = eQQqfnDnnRVVqqP98zH491RLI8WQazensXxR0Hsr9Qf
Output:
| [
"23"
] | task956-76a8f797dc284432aad1d4ddb1e978fd |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = HSG2XZ4ksSgzDzcECnpbPY1xlAJs3l1o
Output:
| [
"12"
] | task956-b9d927fb12fc4bb2a002462793297dba |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = pIgWIbaeJZJNVc!Kr
Output:
| [
"1"
] | task956-008b2f8908f542fe8766bd83bb1d9207 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 08jfoFKWC5juqIoklS8kjkJLRk
Output:
| [
"6"
] | task956-17dd75273eee47509fdd23d4876ad95c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = P9J2QeLbKEwJ
Output:
| [
"0"
] | task956-d6db8efed73b49c3be3c34a98e83e91b |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = CyPDNOEZMrJo0gYM
Output:
| [
"0"
] | task956-bd468dbbe3144f848a011d9dfa0c3125 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = O!nklXMaruO7LteYn8!LkCXzLdpCY0XXY
Output:
| [
"13"
] | task956-728e55e7cbbe4738b17932ecd6c20fb2 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Iy1BAKk2xohAVwi2hQmmc2jyDZaE5xgZGAbFG16b3
Output:
| [
"21"
] | task956-4248ecd91e744efcba5b9c811cb6d3cf |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = SCAR6qLqyUKvFXkKlc3xFm4f.8clN9bWbLk4n07Zp4YBPSvA
Output:
| [
"28"
] | task956-a1a3dfec42754880ac350fb3b5874c4c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = cr.paY9N38RqzgIvS4ij1.99jzhpc7UqCCkoXnC
Output:
| [
"19"
] | task956-40b82a1dc0a342f887847637db67c541 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 5bVjmF0pa13HNRcPmNwt
Output:
| [
"0"
] | task956-2bef46d200e04a3699a28f3793c234a7 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = QWXZWVSz1Vs2lg4TalC.uw7aSWsw
Output:
| [
"8"
] | task956-ff3616fb3d6646b896ea1951c171e839 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = IzbX9GteClSHbws5vSr9zcy!B6DAMfCY9q5n
Output:
| [
"16"
] | task956-b08db58027f44bec996678dfb72cddbe |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ae7.mrwuWZh1ntw3P
Output:
| [
"0"
] | task956-57f120eb25f247879e5894a23e36c011 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = .UvgNHeXH541FO7gMLN36nb.bZ.yh5Fsfe5mg
Output:
| [
"17"
] | task956-234c51286821479a8bf2760b8bf6db3a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = SIQun4ZS8QjnlcLrvDLA8PH07sq2is.UTvcHqBCljM4z1C0jN
Output:
| [
"29"
] | task956-72a3dfde442b4e91be3889d338ce6844 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = iUtF2h5!ZTmPMsePS
Output:
| [
"0"
] | task956-05d256d4a3a7449a82ee45d934aa2dfd |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = yZlqbwvhI!3
Output:
| [
"0"
] | task956-1c881f82e67b4316a25e9037b8548bf4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = XMyc3u5gNL375
Output:
| [
"0"
] | task956-2500ce83d277421a98db9a70180670e8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ZL6oyBM6byBOhX
Output:
| [
"0"
] | task956-7123a646400947928d0aad5f04417768 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = k2nU8j0d0ncvJPysBqTRb
Output:
| [
"1"
] | task956-e63b9e7d206246d2bbf88a023311e1dd |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 7SJ46Qw!YILL3mVl0y.F!NOeVvtuHs!p9CIorrbOJKwNG
Output:
| [
"25"
] | task956-4f80ff449826457193ee589da67b806b |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = owlXz9g5hvTGVVzQBm
Output:
| [
"0"
] | task956-509ffcc283df4ca189732b6c7514745c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = HtOxYWmBE38tsoZidn9zR7r7u9lDkReS6
Output:
| [
"13"
] | task956-8b2ef475f9cf44bfb47c36e244c36bba |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = KwKGOldAcelit3rP1RHRt9
Output:
| [
"2"
] | task956-512fe50dd1c94a34a558174f7d18e0ef |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = oBTglZ4fb!IDuX5krZHl0JWkcbr5e4nron26
Output:
| [
"16"
] | task956-8e9346043c4a4ecea3d120426d4291e2 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = YiO658dDnj0roRb7dS6wBdeDEhP
Output:
| [
"7"
] | task956-e417915a5e1e495db7132ad3e8334be1 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = bR4
Output:
| [
"3"
] | task956-7b6933b99f0a426296f83edb3336f22a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = jN0OuguDa6lcA.LIQ4V
Output:
| [
"0"
] | task956-e747754f5e784363b28f69c58de3d7fe |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = xkDf3NAVFkMXnz7k3oFLFocK5q4pNK8qf
Output:
| [
"13"
] | task956-9111dbdc29b44163b25e7e11cd78598d |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = c1tFaP
Output:
| [
"0"
] | task956-79232bb6d1b34c8b88557b32ff5fcb03 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 7ivEK
Output:
| [
"1"
] | task956-7ee7ecdcebeb497aaeea9697d8a17a58 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 9R9kwROEjYJXsau8Abjyl.suPEzl
Output:
| [
"8"
] | task956-0e8f55b4ffb149c4a6138efff8ec93ad |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = KfFvv9qe.r
Output:
| [
"0"
] | task956-1d28573bb10c41fb907dca65fe40d403 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = VbWbGQd
Output:
| [
"1"
] | task956-108694dc5571479ca2fa417a386855f8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Tz8vyinJGRhHocPIcdC0.D
Output:
| [
"2"
] | task956-1c99217bcfc44626bd4c282b48768bd9 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = cpydslWJwa
Output:
| [
"1"
] | task956-fc12717f969d4947bcdd87e63cdbb163 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = pwz!glj
Output:
| [
"2"
] | task956-7139dd010e6441f9b2d37622f259c92f |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ICb!e!bha9zGQCcwFt2RTcnlw8YsvZt02ik2qwD5UEk
Output:
| [
"23"
] | task956-2712683275fd423fb17a821d35d81056 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = lozwEBUhRTZ7XS61NTgiJb
Output:
| [
"2"
] | task956-291e71ce27614c7f977b0d64fdacfe2c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = M203j0qvgXnzPBOIt7e8GlBmmHd2lq
Output:
| [
"10"
] | task956-e6003f0183e441bc9b53661a5fa4010f |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = jV!NyK7dXHNrMTKpR8pLrsujO8klH8AsG2m7ZHxQjQ88Jf
Output:
| [
"26"
] | task956-2012c9bc7e624a21b1dfeba6ce33463e |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Y4opZRioM31gDkn.WLjbN1L0PZNk9LVt!Y6
Output:
| [
"15"
] | task956-891939214682443a97a1bb00985eb550 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = I3srxIevqmILo7!
Output:
| [
"0"
] | task956-0f79c9e30f2b4f309365d20743551841 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 7dtSIrT!WMbTef3Y0w2OUalgYm7etX
Output:
| [
"10"
] | task956-7c109ac4a08441f097043e9dfa9acb4c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = t5tkiO0bhCq!cg4vsJlk.ZLbn3pSMgWH8bUFQCK
Output:
| [
"19"
] | task956-4e43f3709e1b47679d611a77bcb94061 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 0Mzn!
Output:
| [
"1"
] | task956-116cb11a7aaa4686b44b85c3757907a4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 3OQply.zzFtIlW.
Output:
| [
"0"
] | task956-35f15e6629764d0183300d45ab3df04c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = BWksvtCXZ7LdgFwBx
Output:
| [
"0"
] | task956-b9d6f762852f4bc1b0e7beda58e18180 |
Subsets and Splits