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 = uUHSx1mzgMbiUaODHvIL1EfehmhRB.
Output:
| [
"10"
] | task956-175c02376c6c44bdadfca06a2c22b3d9 |
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 = N8RxuuLzOKcLoFQA18KTV4piF4tl!sl7S6Tzjf67ml6ok
Output:
| [
"25"
] | task956-65cfd7c425aa444b9334c9f61fc8461a |
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 = jQQT.Vw67YDH5SZWEYhhBbjugB1BXIYLC
Output:
| [
"13"
] | task956-7835aae60f1441e08808873ceb0ed266 |
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 = 0hRNdPj.iTqGU
Output:
| [
"0"
] | task956-9f1ae17510804a359f6d22432e8643a0 |
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 = woaToUDJeiFWSq
Output:
| [
"1"
] | task956-5b854c7007bf42b59dc5132655cbaef8 |
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 = cC3kMJ1b9Wr
Output:
| [
"0"
] | task956-f6bc4642f13b4fa58856788a5b08e619 |
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 = SROaW0w7uLKEE!xVzmU1hlfKYKB.0P9H7
Output:
| [
"13"
] | task956-77f5ab440ca447108571c5e7ce19906e |
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 = M!mr2ezfEmfqT7iIwQUdFHrF
Output:
| [
"4"
] | task956-c118cf7a9baf4af7bbb14ba986198cb4 |
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 = 68QcMTwQrh!2aHS
Output:
| [
"0"
] | task956-c10907a5c2c248229477aecb45668f70 |
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 = 72lVnLqkACI49rsneaU6fGXcx
Output:
| [
"5"
] | task956-6281cc13492f4876a86967c19a156815 |
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 = zhJhzB.gxlh8aqS1sRsjiBtIa
Output:
| [
"5"
] | task956-b9e86fa490ba46d4b9c5a7e0b91de539 |
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 = ZaF
Output:
| [
"3"
] | task956-d6a4e2b754304cc9b5e1046335772a78 |
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 = qk6zHkIyYPgbfxBVuh67WpNKiaI3M
Output:
| [
"9"
] | task956-16c84ec7114a45868f271c1dad7dd496 |
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 = hqP0QsLJd6MQ9v1!tfc9ZNgZj3D62lcW6bC
Output:
| [
"15"
] | task956-c988f3a4379947c7bc01b0bfae0c1319 |
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 = zB9iCmh8
Output:
| [
"0"
] | task956-4aabb318c1274832be66fd8d1d854538 |
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 = kd
Output:
| [
"4"
] | task956-6bf23826fbcf48549fec90ffcf668857 |
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 = nIusk692S3aNUg5XstD
Output:
| [
"0"
] | task956-491986614a5043ff8b3cb329d0294f84 |
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 = DC007Kc2GEDN3wwQEInAOiskGTl4WPQvkj0b
Output:
| [
"16"
] | task956-a9ffcb404fea4fc78830a815fab69a0e |
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 = 2Kr3VrZoO755sBXKQ9zKcgAZm6Yo!
Output:
| [
"9"
] | task956-3959f45a00de4eedb93ec8bc4ce745c5 |
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 = MIvpOts47!r4a!HZFRmv9k0Rg02NlfcBPf1t!fqAphEr
Output:
| [
"24"
] | task956-7ed78bd4495d4725a46bae884482866c |
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 = BYZlqApOIlQ1RU3KYp6XuDkimJcNzPVPAZdDe
Output:
| [
"17"
] | task956-54cb967ce4e84bbda63d275f6b472e89 |
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 = LWhfnoJg2zaLAxYYM4fiyHewUNWNjyXO
Output:
| [
"12"
] | task956-4c0be0232838400d967a98d3782f0484 |
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 = 9JQ4ZM.2Ew
Output:
| [
"0"
] | task956-0db1b8a020b74e90b8515e3f7d76b5a1 |
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 = rctq17d8.TYqjkBkluu6Wf3K2UCn
Output:
| [
"8"
] | task956-2a1853dafe63499c895ef097281ef413 |
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 = EZ0UsboCG8jY5bf5ADlcT!fPlsxVrQIp3vhYzBDvj6YDu5
Output:
| [
"26"
] | task956-19d4ca1e941245f8973549fd674fc9be |
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 = XsjmsSag4cz7d0VJf74njoM7rQ
Output:
| [
"6"
] | task956-3e2a72580cb147f5a5d327cc57e5143b |
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 = G.xrxQnQbaWSvja6xM
Output:
| [
"0"
] | task956-91e6c2bce12e4bd795ff58276e4b14f5 |
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 = IerX2IY5pnGKj!KfCe0
Output:
| [
"0"
] | task956-288841c411cb47be9547baed0d40a637 |
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 = ng8xrrpvzELYP50n3gdrWv.sm1o25
Output:
| [
"9"
] | task956-28c2838771064b9ab2cae46aa3c8d0bb |
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 = k57dSxqASDF
Output:
| [
"0"
] | task956-5c1d6ab67add45fc946db47e980a94f9 |
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 = MdxEju9i
Output:
| [
"0"
] | task956-794ae035900d4fbab4582d75d8e5211f |
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 = F0dHfT1U6YCttDXVbxCj!w18!QPUFyL7UsSSYRND4rB9v
Output:
| [
"25"
] | task956-532310e188e1470c8121dc68fb77b925 |
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 = s0l!!uQfrOna5!hF
Output:
| [
"0"
] | task956-778dacc95ae14f1fb931669a30af93c3 |
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 = rWK!uFxHvC2rvBU4qsbX9jnLz4AuapYYwA3zgIO
Output:
| [
"19"
] | task956-a73c1f0397d441e9abadb9c4abd162e1 |
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 = TgmXRJyqxFpUlAXvzoMnSroSpOa
Output:
| [
"8"
] | task956-bf34b17572c742af8ac462eae61ee12c |
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 = F1FnraZGI.Yr3kDYC4kEHd!7yiPyMD8qOe!Q
Output:
| [
"16"
] | task956-1fd88d05abc445e4af0e8c4396616e87 |
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 = iJuMMgpGsHQcprztrNzB7axs9sx9H8inF0J
Output:
| [
"15"
] | task956-e171195bae4647fa8db88ff18cfb1116 |
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 = Nz0
Output:
| [
"3"
] | task956-950518ba5a1641fba13adaa079c5c7c0 |
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 = kGXuT0IdT5yT5AEiMWFeORNe
Output:
| [
"4"
] | task956-e00e4dbb0e4b4d3ea9976e2e6748e9b9 |
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 = t3nXwDAkGonPpQYD9iCdlEarixrjEzKc6l74A
Output:
| [
"17"
] | task956-c5b8c82825184d319493489d5b317ccb |
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 = oHPpXa!iNrU
Output:
| [
"1"
] | task956-0dae657e93e44d6ba1192edfaa8d6499 |
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 = jTCpxWs3vXSrJ7eKcpdeSHjzDDwfG5FajXeg1BBW66i
Output:
| [
"23"
] | task956-c212d6ac1afe495097bc76d1a02d6f04 |
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 = Uy1B4oimdTF9L
Output:
| [
"0"
] | task956-f02c5f3849e14e12abf3f3511b090250 |
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 = VMhfHdjivg0aXru00nRAsNkQywS
Output:
| [
"7"
] | task956-8975e8faa37c421794d94ff0f3549474 |
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 = GHohprgiwMqf
Output:
| [
"1"
] | task956-01f6d0e46eaf4f7e8e4d351f316df544 |
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 = DwGeEyrZCeI8inTQh4
Output:
| [
"0"
] | task956-7e438ad4712f4823bdf5bd4f0eb3ca33 |
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 = eyX6clIx3twsOUvJTstlJ9nVBBZMNua.4z3n!LcqLmoD
Output:
| [
"24"
] | task956-9a3bd02bed374918943cdcb5ef720cd4 |
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 = h.8sHwECuEe4Jbv0iwFfEA3K2VEIyZpGWQ8YQZ4bPftG
Output:
| [
"24"
] | task956-8464996bf8744210bd6fc9bb9adf2c78 |
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 = SNJQjmEaX5JhSCzucgG
Output:
| [
"0"
] | task956-714fe5eaa4c64f78a6d1616631dfb452 |
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 = dSdCrW.3QSAb
Output:
| [
"0"
] | task956-bbb8bce724da4609a8c40cdbc5857b3a |
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 = IdAQbrZwSW9LIdCxi!GPTmZ29ZLQ125iWIBj4q
Output:
| [
"18"
] | task956-9f13bcdbd4294084a910de11098cf74b |
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 = iavL2rgQLDS!at0UlXiGWMlyV!2gjsOfWigZo0oK4Zr
Output:
| [
"23"
] | task956-2852a68a44b34f97b40c2ef7da5ec4f1 |
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 = r.9A.qHtooRDx7WZ0sMn26aF!7hCc6y1O
Output:
| [
"13"
] | task956-6ec08054dca3406584ba5477e55a25ef |
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 = Rf7nnk32hLBHsUld
Output:
| [
"0"
] | task956-7b1c5a31c71d4681a82e84fae952f0e7 |
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 = bUoz61x5QnPGKpYGzajk3uIt8NGAHF59
Output:
| [
"12"
] | task956-015cb09c058149d180034afe7e6051a9 |
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 = ajIMo0FXh.O1
Output:
| [
"0"
] | task956-8cc3a1d62a154e69b7e08e13725f09f8 |
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 = vJDbZHPeZtpt
Output:
| [
"1"
] | task956-4401399d1d8c4af8858a97b72d41d992 |
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 = 4jJ9p2p2GKMrbd9UFjXF0rvUQUHb51VAL8SLQAEIArXXh5Zuh
Output:
| [
"29"
] | task956-f666c89a44024f1284c4a98863600343 |
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 = nhg9h40VCiXU5Djxr754GLa1sg9W
Output:
| [
"8"
] | task956-5a4cc8f3e2154e04bef2f30d9b93fb61 |
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 = HP0a1nLjZmv
Output:
| [
"0"
] | task956-af8c05da4a0b40d5be205d8ff4353add |
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 = CnM7S24Xn56c4or
Output:
| [
"0"
] | task956-41496f707a5f4009b36544ad63734ef9 |
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 = DF9!Lij69xg0TH3FFyzKWVtqB6aVc9rJl2n0qbsKB
Output:
| [
"21"
] | task956-0070ccb0c087400cb7fcb374f854eaa4 |
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 = JJ
Output:
| [
"4"
] | task956-8498e043013e450b93ad1f8cbe9f072d |
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 = 0YH!bm18coKxnMfMIEeBIVKRfJp4AfJ
Output:
| [
"11"
] | task956-306cc12dbc4048b6ac3185cd5e53c8df |
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 = hXx
Output:
| [
"3"
] | task956-dfc9d905eb8b465e861726210fb9bf66 |
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 = z2V4qWSXVp6
Output:
| [
"0"
] | task956-6deac808e74b4b78a0b764e0f76d39df |
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 = v6Y3sauXZBhSvQgUCS.3
Output:
| [
"0"
] | task956-b4f99e368f7a47d2809eb358c570db6c |
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 = raRi2kCK!ZZ1kPJvGO8vLJuchy
Output:
| [
"6"
] | task956-8e2b5994685c4d13af8d21db13a8aed4 |
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 = Z.RiLbUCMaDGetX
Output:
| [
"1"
] | task956-7380d6a640ae4ac6acba6cfd70e76be5 |
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 = 2uy4VDdBSSkyj!Ekba.r
Output:
| [
"0"
] | task956-85520d0ad2fc4ba08c688e39dba6961a |
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 = Kqkxvj3B
Output:
| [
"0"
] | task956-72a5585d915a4fb695823e8c2c3ca5ae |
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 = JZVg0z8ZFlvVrskueMhdvCWK!ks4ypma2Om5ry8
Output:
| [
"19"
] | task956-c1529a48ecfe48199360098ee20d5ea6 |
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 = scu2Q!7z6AevhXrpA.q9TKMLiFwWf0H.QwWGFiDDW3j
Output:
| [
"23"
] | task956-a3083e0bdb834feabc0f6e3aaaf722cf |
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 = BBURLSYOgbcRa
Output:
| [
"1"
] | task956-bcdfa4637626469c8a8507292e133877 |
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 = UmbHJHezYrFfSpflHD.CXlvD2fbQuNAD4DdT.gmgRap
Output:
| [
"23"
] | task956-7816230134454968a6ca010e3567634f |
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 = 4kvzsY1UI0YS4W!XC3gXmYj50X!V9htjF!p9zAiVhFMRTC.4a
Output:
| [
"29"
] | task956-dde129d3b03f4a879a312723daf67600 |
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 = Juo4bjkzOzYKXe4Je.yrAUvfnNlO6aI7.f5
Output:
| [
"15"
] | task956-e1bfe33975bf4fe28f131f98c6b959f7 |
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 = SNjFIiLg.wnymCPcQbGu.ECykAhdjMgYxp8DV7qNA65
Output:
| [
"23"
] | task956-a1d5dea93ccf43f9853fd56f201c7116 |
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 = FlfRshdTg6.jY
Output:
| [
"0"
] | task956-37443199b17f45c7b68a93e4654ffe09 |
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 = 8Xxr
Output:
| [
"2"
] | task956-4dd19bacc5b4414ab6e9eab94133bc2e |
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 = oh
Output:
| [
"4"
] | task956-b9a8e47bd5f04d8295314c0a3aefe11d |
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 = bwBcVP9pUhXDW9apBM5JratVLHE87t9.j4HQh.c8B4MPVOi
Output:
| [
"27"
] | task956-82efe63c04eb463d9911e924c61c5985 |
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 = DoQbWYtDxCKkuMLFwzR53JtM39.J5fUkB
Output:
| [
"13"
] | task956-ac0df31379b14944a39513d436a8e374 |
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 = rp3e4CYMhA
Output:
| [
"0"
] | task956-6ba5b5cd33944a41a78eabde07afc9cc |
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 = diFDcqkvoGMuNuhb
Output:
| [
"1"
] | task956-4c784b49999e4b078a382b97a0bfadd1 |
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 = TIBpFqE9r9HFpxgvxgHI2rt7IRl
Output:
| [
"7"
] | task956-54403931b8d24e07a7d85283fda043d0 |
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 = VDXKlokca0u5s6O4.HHeu6sHKIHLyMRD6hlJtM9CfEnPZKV
Output:
| [
"27"
] | task956-29aec06ee52c4e70b33a8880c7a84354 |
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 = fl8A!ngI4a6TnMz9Rxvw!xCWA7nqvLk.KAADt61ewx4395T
Output:
| [
"27"
] | task956-7c0362e39e47497daf50d57fd69a2237 |
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 = FuhrULtnAC
Output:
| [
"1"
] | task956-484a43e2eb96431dba483ed5d140c37a |
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 = sOWGgGpNp2V!Z3s2oS188
Output:
| [
"1"
] | task956-57d120cccc1b4a2fa9fe132906206bb2 |
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 = Fn19I1lKh5prLfpep
Output:
| [
"0"
] | task956-4e33070c2fec4317a7d041aae8f89a51 |
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 = WEnMXACBl8MJHqy.YbXYVMrddwgEIa4qWamB4X
Output:
| [
"18"
] | task956-077d25fe5cc54e08a5fb8a1ef55a495b |
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 = tgrb!6C3KOmcnJX9tMKvcIGVY2QaQekbL2Dp5
Output:
| [
"17"
] | task956-1f1f6e860658400a8a76096623a81153 |
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 = uCHsrif2f9gBWMVEizoyoDc7k2
Output:
| [
"6"
] | task956-095fabf7177b4ab794b84036ff4e0673 |
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 = ww7q8!xUjhMca.
Output:
| [
"0"
] | task956-8fa817a65ead466fa1d053f216918ca5 |
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 = co21OeRtRoJzbCVh
Output:
| [
"0"
] | task956-1a8a5d4f22f04dd8bfc12f8e9f270c0c |
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 = wN85rrOMhDStHp0bAPsWJ
Output:
| [
"1"
] | task956-a8d8eeb9333b4b18a2f4a8fc4d0a693b |
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 = lEit.92woPxXVDkQ!!OrLg9
Output:
| [
"3"
] | task956-9ea6d3c76ed742d8b3c74ba13d03adee |
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 = WEIIbFZfDz1aMkmwyg!u6FE6rAdW5LSl2mapffhewtw
Output:
| [
"23"
] | task956-af4078a008cb49ca87ecb279c118125d |
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 = t.eCW6MNX
Output:
| [
"0"
] | task956-ff5053fd6cb04123a1b6621ca54963c7 |
Subsets and Splits