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 = IuWmRCY8ExjZUl7SJbuDW1pHj4FKtA7Qy8qadeonpC9RmAc
Output:
| [
"27"
] | task956-0f0e2de7279a4b1cbc4d86a1b6697530 |
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 = vL6pJcDfaOtXS58Qf6PjM2n9cyuWN
Output:
| [
"9"
] | task956-13ccde8060c346f08fd9da42c6a223a6 |
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 = w3No68VUXhlvemcCFAjm119yIceiCNGzJh
Output:
| [
"14"
] | task956-3984c1bbd5f34d52815ef01aa75623d7 |
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 = ai!Fp7kx3jnFPzVgD8RhnRz3tq.dnwmAARisgOrPUyJdc8Ze.
Output:
| [
"29"
] | task956-42f587abbcbd4ce58f8a90ef2a8cb493 |
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 = 3iDSqb1gySzAt2tDgCC9AbJAs7PthCNTKwzRBC
Output:
| [
"18"
] | task956-2184379128cf49f590fd5e87d022bfa4 |
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 = 7lXp!RXhCOlahnF740xIna29a
Output:
| [
"5"
] | task956-fd2be397500a435899b18436c6652de3 |
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 = vIowPbAuwEANKbVyNFOoKaj74WCCy.gRdXgGGyfYxTDh3A
Output:
| [
"26"
] | task956-d800352b74af401b941cccbe7c2b31d9 |
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 = qIJktEWw69N4PgCao.n
Output:
| [
"0"
] | task956-711f19c1360f4bd2af60cf7f528e395f |
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 = pYUW!MeIkv
Output:
| [
"1"
] | task956-7cccb7fe941a4f849972448d85c3d6f0 |
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 = 0EWCsLWbFRGBjO6L!df7xXIxHKgoi1mHf0IsLt
Output:
| [
"18"
] | task956-dd4ab4d7f6084e3c9d1c9e6a147e77ee |
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 = 1liwWvrFqUln8CL8Qo
Output:
| [
"0"
] | task956-38e9407f6efa43dea6bb78e8979c84a3 |
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 = 6.DAB5d8JOQ5RVD
Output:
| [
"0"
] | task956-f0b90d56822a43ee95dbc170d64dd5b4 |
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 = 2E!VwSIvbV6k5kKGTHNoEoWCWrZliSECp
Output:
| [
"13"
] | task956-e6a04916abf54e7c95ba34f04bcae383 |
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 = jyEEUIEI3Q
Output:
| [
"0"
] | task956-9b91b17f246141b4805e1c1388d6557f |
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 = uiDL6lZovel.BE.8mYFR4P8DX.yORqzwZ
Output:
| [
"13"
] | task956-e8083d84a89e404b8c096f08bbf6c94c |
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 = jyCXTIKPmyWAHdDVycL9!tB3GYXxDAfZzg48.5LlL4ergRXaR
Output:
| [
"29"
] | task956-fd73b286f82e44179fd7787ce8801108 |
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 = hIPyXVU9LoC0GbdM
Output:
| [
"0"
] | task956-a8b7455f0e38484c80625373f98359ec |
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 = RJRn4nGgi
Output:
| [
"0"
] | task956-8e8823bc220442c1b886ddaf5ee9de41 |
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 = nA7UlMymhvjwtCuu
Output:
| [
"0"
] | task956-00c47cc534774ac2aad17a475ffae5b5 |
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 = B4G1KVrDqu5F!xpj6u.3ULqe7mDW8VqlAfdqpUXjqLHO!
Output:
| [
"25"
] | task956-144a181867d04ccca5b9c54f21e31ef6 |
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 = otLgRpiJA6InEg4iFHnMX5bnW9vDeGIoXk5kv3ER2.AoEY
Output:
| [
"26"
] | task956-6064e487aca4416ebc75afa617883947 |
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 = s
Output:
| [
"5"
] | task956-ba4ef7a255c54d2abf3f207b5d72da3b |
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 = ZxrTZDUrqVvYcrZkMcMyltjiAWqQ0sQcvxH8z3n6y
Output:
| [
"21"
] | task956-166396743fec4201b6029231ee956b72 |
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 = qvg0Jb.vwNKPMnnAU!
Output:
| [
"0"
] | task956-83dffd8871dd4e9583739bd78eeec50b |
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 = ZSeOXqTShAW.w9q15rSAKUmQQ2R4ZKmDnW7Ak1c5
Output:
| [
"20"
] | task956-47124c5c45fb4eb290427defadb9ab4f |
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 = Y6.x5dj
Output:
| [
"0"
] | task956-be4eed8f86c046c6a5bb4a3242f16ce5 |
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 = pv40kpU58hJLgbX
Output:
| [
"0"
] | task956-333e98265103491bb9a846dad03c2239 |
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 = VzJ7efeqblZgreC80nkItfcf.7T4FT5dP7M7
Output:
| [
"16"
] | task956-a7a72af146884b59bae07b94ed8ba908 |
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 = qgip!xjBGsrUJJ
Output:
| [
"1"
] | task956-e7420fa74b794082a90ee4a55c19748c |
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 = aJPgmGm6InXsRiFexc!VuUZckrVu8g0oezB8aU.
Output:
| [
"19"
] | task956-86b05ed6428d4e71a519c3a95796d4b4 |
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 = fbcCtPWYO8VSaDFCvkgARoVCKGYpYRctN3z2AgDiUvjAHdj8
Output:
| [
"28"
] | task956-6ec7f059f3164f9a911b9f53aa0ef611 |
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 = Ol4XxcU1jMxjCc0wtPr9JmIYT10mi
Output:
| [
"9"
] | task956-9a9854662d95430cb254926a1fd1e56a |
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 = RV9MRVOA6hSDkmSvG92cyUX0EViFCvcRSa.Nffv.myj!bn7T
Output:
| [
"28"
] | task956-b5880c8d297f434fbd836e38738f8be4 |
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 = 04lo4nvwMfzrnOn4NOK7YS3kKoxomEYD1f6J0M2tm!KU
Output:
| [
"24"
] | task956-049e2b2a78a5495baa490a6e9d7ca854 |
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 = 2iUAGyE
Output:
| [
"0"
] | task956-be3dcc97e3554a69bd420c90e8cb392c |
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 = kUwftxKN1GwpgPO5ttSa3KJjZgKfsovRVv
Output:
| [
"14"
] | task956-1afeab92645d48be9263859a3f5e5329 |
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 = yLvJCh8M1tjaO8G1CtlBA!4m3mjda3Mp7gPQ
Output:
| [
"16"
] | task956-def90c67928149a3a4838792781433fe |
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 = rNGYjgC
Output:
| [
"1"
] | task956-0e401fdec6aa47838ff55f670ec92f69 |
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 = yHZfLxYuumoze9VrRcYjhdRF
Output:
| [
"4"
] | task956-7ad34f3116fa429ea433cd383d5b29cc |
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 = 4
Output:
| [
"5"
] | task956-270d033e3a034c1b88d2979c863b834b |
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 = .kRMEddnVSATL
Output:
| [
"1"
] | task956-fe50f31df9954df5b614247b84a86111 |
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 = lZk3duR
Output:
| [
"0"
] | task956-cc1625c0f448440e87ece580a7239990 |
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 = Ua3Yun23pl3j3G
Output:
| [
"0"
] | task956-32606935da044e07850e843af605e404 |
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 = 404Cxl1wLOjN7lOsn7Y5!kFZ7d7Oeb9ewVsvFBHAvu5Ll6v46
Output:
| [
"29"
] | task956-97e2996374b34464b46b6de9c6b4b902 |
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 = !ZlsejtGmEqS4CEPHvmJ0MvolP9AvLjACUB6Zbmn
Output:
| [
"20"
] | task956-eddb5c49d33a4d869fb6ccaf01a51df7 |
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 = JhYkKRP.I.aw8yaVghMxSovJQ.eQhK5SL5EmvFdj!C
Output:
| [
"22"
] | task956-4be651af3fdf4cccaa4785ee7f507cf6 |
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 = WIp34G4
Output:
| [
"0"
] | task956-399ca1802ffe4d42b4d80844f41a08de |
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 = 3TmCnQCcYAKtG39oG5NCzxCFCMqAWxcJ
Output:
| [
"12"
] | task956-bc34de9b2ab94b0580c5a98c1f5e29d4 |
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 = UZpocqxNxo1C!6
Output:
| [
"0"
] | task956-d7948a46938c441987a3a81016e1433e |
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 = a2Zm1XHK3VtPuR!Oc8M02r1bMFi1cuRCj1!gz7GyD42aC
Output:
| [
"25"
] | task956-0f669c28f9554ef08e336ee5038f7215 |
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 = LIHcjhggH
Output:
| [
"1"
] | task956-18614514de144e5db695840c34e9483c |
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 = a2Xz16ty5Yui0PTBTgZ7XBHvLSj
Output:
| [
"7"
] | task956-fd41d5af997f4dc3a5e41646c17e4430 |
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 = RMDRT91
Output:
| [
"1"
] | task956-9bde69f549644c69a49c40fb4fd6aeed |
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 = jg4JVSjuJoYVi
Output:
| [
"0"
] | task956-571a693a04964ae49c2623faac44bdca |
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 = HOwFzbRn4Ojr7loKf6NvxMp7ElgRTW3EKZOD8F
Output:
| [
"18"
] | task956-1adac7b66fbb4ecf815ed5ab1dc00478 |
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 = aCKmm1k9174J8DM5rgxm9veBE4SAFH3.ny5bnqbuuodDlWT
Output:
| [
"27"
] | task956-edd9122801cc46adb3b6c2289b3e83df |
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 = Kc8ZSkNESfQ4ccR!qNAfiQfuYUodvF0c704cdQJPiejg
Output:
| [
"24"
] | task956-e3385091230e454fa01480b4aa3c0989 |
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 = A0DUe0ze2rwq
Output:
| [
"0"
] | task956-d98db0bcdc514a999340c318eb406367 |
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 = d9W5.BaE8GCdpHRh2bFqx9w4DqVdNRsFhXezimQ8UHt2K
Output:
| [
"25"
] | task956-94eb161c68694387925a58c039324cf7 |
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 = HA0y14tdudRveaRqczXWEe6Zp.GjVBM7QrVZw1
Output:
| [
"18"
] | task956-6500ed0b527d49bdadfab392885705a8 |
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 = bA
Output:
| [
"4"
] | task956-3930e2f14033413e8d3b1d63d8665441 |
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 = Hl4IftUNDqfcP6iOtzGYQVEenL
Output:
| [
"6"
] | task956-65595f9ee1784976b223d7aec867dcfe |
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 = vI
Output:
| [
"4"
] | task956-a97198d8ccc04c2e8f3ba1b760c52557 |
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 = 69a9wamBEMhCOhkWXSEH2
Output:
| [
"1"
] | task956-785f1c6bfcd44dfca1a2e90ae57c469a |
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 = JHlc!zBkCmfSjFxwMspYrNfYxMIGGnNSK3SLJMC657qDpS
Output:
| [
"26"
] | task956-ecf6ea4162c943b0b4c5decb4b4a6549 |
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 = oaMqvFNmxVNzu3rS4AreOyh2
Output:
| [
"4"
] | task956-40fb3a9f2f0c4f77a7ffbe5e9e04aa95 |
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 = CclyWl
Output:
| [
"1"
] | task956-9962a136f7bf4d0094e4619a8165357b |
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 = ARUgAcSqoMVbnAyciGLdevHCmSZvWv7UlnMb7mJg!tXzb1h
Output:
| [
"27"
] | task956-fcfc9de0652f4e1bbb5c8f591bde05ff |
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 = Xvq3r.ch!fIu4
Output:
| [
"0"
] | task956-c7755771828f484eb9196e25f85909f0 |
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 = yUa60JJDGAQ1VI
Output:
| [
"0"
] | task956-3dc2a0d1baf549e28b2b249d56a2c52f |
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 = yIDmlBbaYrKeZ
Output:
| [
"1"
] | task956-1cc06bb5c0364d6cb8a50694c2860584 |
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 = 2l
Output:
| [
"4"
] | task956-556dbaabdc0f46fa98743d7ed364cce4 |
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 = ZndBxQHlCfq2Bmp08u3ttHa18!FfT61EdA6ITLxyI
Output:
| [
"21"
] | task956-745d7b18d58e44f597faf46c9e16274e |
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 = quxeRZD0dsYBNdfodb5sW5Br5
Output:
| [
"5"
] | task956-18ea790bbbb54d3cb78f4e4e8dd54207 |
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 = DHq13nxGsU6zFlsHRlTYuZp0DXPI
Output:
| [
"8"
] | task956-5d91bd2bb32d438b8c9865395345e3d2 |
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 = Zx9g
Output:
| [
"2"
] | task956-f41508b52a9f4a55a6fc06596210dc05 |
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 = 6JK18uc4vZdHd3zmT!qSGCZKNlvgtaceP2ETCtC8k5cE
Output:
| [
"24"
] | task956-fd9bdf5dafc2460481ef783521d25b4c |
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 = 66uk84COmRoRx5!p5NRnhDiTtPE.c7CHu876bO23
Output:
| [
"20"
] | task956-77e174517231483294f8a9f7b9036ace |
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 = 6jCLsoYh2F1uxoz2kRzrr9fw1EMd8!P
Output:
| [
"11"
] | task956-be08d9444dd340e0825dc62dae331c4d |
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 = dCi.OlapKK4x8u0NK2deuclK2C3LhvhSlD!7
Output:
| [
"16"
] | task956-88ac81287bed4adc9d72744213a90bad |
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 = k2jILnRIUApwA.o5fP
Output:
| [
"0"
] | task956-a53cd97516f843e0a0775818d4e104c5 |
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 = sYprN7DHqSukcG2
Output:
| [
"0"
] | task956-23db6799cc8244febf4da2798e0217b6 |
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 = DSMsfuJPK3q49XNhlvyS.zQd.zCgFShP5V3cEUNnSJI
Output:
| [
"23"
] | task956-8b34e1c2d3214aafa6a70bbbfc2c79b3 |
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 = o7ZUAJZmLFhMRkUTiikMxpEt.Q
Output:
| [
"6"
] | task956-39d3dbb1262044abbec7ad90e9e6ea7f |
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 = afj!d
Output:
| [
"2"
] | task956-db6a3665a89746e0a80499e17ef75f49 |
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 = EvUBCKvp!3uSTqWgIZAlQsG
Output:
| [
"3"
] | task956-5f67f0905f514a8db82b3effefd600c2 |
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 = V62dMqwSdMpEoqkK.Ly8lLnGvRPq4LRDatAFrU
Output:
| [
"18"
] | task956-d0d12e99d73141e9821856704ed2b755 |
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 = SzGlC2gXm4uvZYah8MKaM.SN3wuayjcIJ9aDoa3cb9!KGc
Output:
| [
"26"
] | task956-4ec6faf8175445808f29e4fe43c1ccaa |
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 = aeNhz9iEIRznCYtVOWB5K0j
Output:
| [
"3"
] | task956-e3f75837a10241ecb2d61dab7c1aee48 |
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 = qPaja.8PYaUnj
Output:
| [
"0"
] | task956-7feff4e34c8b4cf4a31c94501c5a0bcf |
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 = MWl51TtcphzQuzYzN9F383o4HdmjE4niDwGELz.5nwg08Byme
Output:
| [
"29"
] | task956-4ddc9bb8bbdf45e79dbee46ecee09386 |
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 = PcDHvltN87Aj2Zikq03kV4Q3h72s3oUd
Output:
| [
"12"
] | task956-e66eca73976744b4becb08e0793c2ca8 |
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 = Jl!mXAvuFbUqsRQ!c4MopEgAcT46.JEOWkqt9H9t4.Y!
Output:
| [
"24"
] | task956-70d3e3c72b44462a8f843de640c0771b |
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 = Q8QYyw9cxhUxMg4URx
Output:
| [
"0"
] | task956-8af4ceece5b1435baf37a599601378ba |
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 = DWWW7S8BRzrhpwUSIZOIqoqlSl.0TK4Z6aC0YC
Output:
| [
"18"
] | task956-f940ced2aed74d5f84443ab57cf63890 |
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 = gBJzM
Output:
| [
"1"
] | task956-6af1aa4f81664a30bd5b4d90af5ead60 |
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 = N66XpBcqkep2msgmAaMboEv5AV.19!snF9N8CA2VG9tVVEN
Output:
| [
"27"
] | task956-220ee798edbd436e9812b199356e717d |
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 = Pv3!GDZHMeWCxQVl8C236lNyHy0H6P8s
Output:
| [
"12"
] | task956-127d1431c9f94ff19037dfbfa9c0d844 |
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 = AR1H2QyBEgWWRhhdBIu3EQhz
Output:
| [
"4"
] | task956-88d7ae6586cf4d2599fb3480eb9090a7 |
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 = akb2YFgI7cwHkRaS.HgjqINko!gWb20Wj8GURNvFX91
Output:
| [
"23"
] | task956-b0d636df62664cfd8308fada9202f4e3 |
Subsets and Splits