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 = .Ytmz.!Dv5nm76WAWvkZK
Output:
| [
"1"
] | task956-3a17ab9503d947008bdec424a34c74a5 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ELaAEV35SH9AVNfsCCRxYReSPghcPtq
Output:
| [
"11"
] | task956-7a8b1d053f4f4f4189c266546c365f20 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = BLqmM!IZLCk
Output:
| [
"1"
] | task956-49eaec5366c84c4aa4cc5806845c3b88 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = qiBrJ4dYMaEazuFL5VV
Output:
| [
"0"
] | task956-0215c2b632964a99b37518742c3c5999 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = FV51O42glR12NSnaVRM.9PlwTdJrfp1B
Output:
| [
"12"
] | task956-0753c2968f464154926bb1eb0604ebe4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 5t!N0K.73BLAlT4fqVnp!jRIEoqK
Output:
| [
"8"
] | task956-44de1d7b649f41d082e5c70478dd5b87 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = XLL4zvPBipSy1pjpukjvZAcR
Output:
| [
"4"
] | task956-eed82c09e687436085b5be17d6ff11df |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = pl4dfK8omTy04B8cPK9Oap8xANSn
Output:
| [
"8"
] | task956-e596a2c798cd4fa0a1c4e14af23074f5 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ZD.H0eaAefDwpxtfBFJzOB4XL
Output:
| [
"5"
] | task956-5aedadc1770c47639803dc6b08df3146 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = qTMI.w
Output:
| [
"1"
] | task956-b09e0270a5dd4afa83fd32a46dbb3feb |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = R77Dlt7.YgZ.lmo7O0JpELLC4J3i6LlM5F1EwnbHS
Output:
| [
"21"
] | task956-ee94266e56fb4ff3b2680e7a0067915b |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = WC
Output:
| [
"4"
] | task956-50c548daa5684de1bd0cf28d84624ce4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = uB6v7NlZVBvHze6RkqE
Output:
| [
"0"
] | task956-54aea827d4a7463990805dd71b4f688e |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = QaxFm0N9Db8NlASFd
Output:
| [
"0"
] | task956-38a74bcd53ce4e46bb66d6dfa5e04453 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = TYlV8sCG6wyrVI!LYyKYy
Output:
| [
"1"
] | task956-36919ccd48e841df9f49fa0661467cc2 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = lcTI6FBp!sVC1r0Gnp4Q.2R18QU4kL.WyhObo9tm
Output:
| [
"20"
] | task956-65552d1fa813417ea8d82af9b1957a33 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = TE4A7YqAoXV5EPG7LSqsVlJqP3r
Output:
| [
"7"
] | task956-73cd6a53c02946bd9c7a6d5561ef9ffe |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = nmn!aQ!et0tgYE!yTv8PiSbaEAq8TSkH
Output:
| [
"12"
] | task956-6564a77228774a12abae54a0e3fa02a8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Vb8G62oEBU7aVFT
Output:
| [
"0"
] | task956-cabeab3297414b4fb307505021ad7961 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = .vwE!gqVnkh5yv8WSjS27IxcZNdRqY1A4nk
Output:
| [
"15"
] | task956-0a74e92878114c23b931dac414044036 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = rzj67vP
Output:
| [
"0"
] | task956-d654572b8a224a37a51eb427b8b144dc |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = JobRiPsuJ6EIbdtSv3BKShwk0hH6eKP2N.NxpYm7
Output:
| [
"20"
] | task956-4c574650a081430980f0060e666bfbf4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = xD.g93Y0LV!
Output:
| [
"0"
] | task956-673f2bda795743ba8631811f2b53620a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = RG3hLlhqG
Output:
| [
"0"
] | task956-9c26b46ee8d641aeadee79842dc28fd0 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = rG..4UJx0Xr5kFpwu!lZN7PflZBeK9ZO8LUDP4!
Output:
| [
"19"
] | task956-528a8bbe7a8a49a3a716527e23f655a6 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = eJyNeBO20P
Output:
| [
"0"
] | task956-34aa49ccf14a4c7f81b89e1760a0c742 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = YlbtZLCSrimZ5hvTv97A8eRX1610
Output:
| [
"8"
] | task956-ec486d92221f4b0e887c4de05be90019 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 5jQqYCJCHdao9tr
Output:
| [
"0"
] | task956-bf116788a54a48a88718ea05289d6f26 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = kIg!pN4TRDz6CyUJD
Output:
| [
"0"
] | task956-d0af908b8efb46aaa64adbb85126bd13 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = vTTDC3TrErW92642Ecd9mnRKIC
Output:
| [
"6"
] | task956-108df185260e4649a55f9f0f23716996 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 5icUH9TMlKLghzk.vKsaFt5uf.CMn5REfqR.sHRsyj8x!2p
Output:
| [
"27"
] | task956-17160a3a89494e128bd75643a72b1e90 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = KiOxUi7PiJj.OJouE22eNI1LLs
Output:
| [
"6"
] | task956-9ce95470df3f416b9e42ee6eed075fbd |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 3O!oFwrhr5NZ5z.W6jFExydeaKMupmmV
Output:
| [
"12"
] | task956-3a9a373cff9d47d487a9119875ada083 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = lPxUKduicFxrFeRWBdt9.PnKCKet4Oiju7nyPOevuXh
Output:
| [
"23"
] | task956-2e6c06638fb243f784383a43e638a98a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ogzAV.
Output:
| [
"1"
] | task956-511dbdd6a2b647e4936eb4ea3d3ad258 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = SNzZS4q.ykoyg8xA3n
Output:
| [
"0"
] | task956-88790961d8874f05af2cff6e4d7471ce |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = XDt8HuSO!mE91LhziNTUzcoyx99VUHTcMoWG
Output:
| [
"16"
] | task956-1015c413f86b4474b0a3a07e0d965312 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 9rToS109bifTwQDkaEBe6bJUln7N63rLQK5yQAsx
Output:
| [
"20"
] | task956-575186a05d314119b476e7c08eab0a32 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = o2o4!AkwBktas0XCT
Output:
| [
"0"
] | task956-a78f7335f4074b9982e29097790c1b3c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = kG7K3YYpGCWPkF1!SxV22!NUstjFRqWPj3W
Output:
| [
"15"
] | task956-dd5d9a62606d4fb3a642555c53081cdc |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 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!2!AkZpKnPpVmOtkqWu8
Output:
| [
"1"
] | task956-8843b8a0e1bd46e09ddc6f1984d4bd90 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = vzq9fV!nMmCfMKF14Dory.iI1Yw
Output:
| [
"7"
] | task956-99798be8a6064f31a2aabfba8faa57d6 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = mg!b!VpE5!YAaaoL
Output:
| [
"0"
] | task956-2925b68810f84f289da328d206f2fe14 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ufgjj.Wffa2RI766ihrs5n6xkDuRtr0526OD2N9tPS2Ah
Output:
| [
"25"
] | task956-b5974480f06141ecb65a916a9ec4d5de |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = w7If7.auB5nMpQ6sLftC
Output:
| [
"0"
] | task956-52dd54a69a5d41daabbc08e3accb8c04 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = f3LTqOPWn8ORH!Stn3bv0AUq.DGn
Output:
| [
"8"
] | task956-84916f4d63174f98bdfcec0c15a24b0b |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = !56LDU7IlHy
Output:
| [
"0"
] | task956-1b47183d82b14129ba51b41a94220a66 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = uavDQo9NbDdrUz6Mhfu
Output:
| [
"0"
] | task956-b2f353335ec348e2a56f7bc53ad84128 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = GIaL257
Output:
| [
"0"
] | task956-965cb6ad364a4e589bcbe0512efafb3a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = W7jzB3GA2UBk3y
Output:
| [
"0"
] | task956-056634ea5aed43f88818083daa250619 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = OYeQfi!g5pKWST
Output:
| [
"0"
] | task956-d7f774658eeb45debe91fd8f9f99f999 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 3WC5x5CHazBp3zI83SpNqOss
Output:
| [
"4"
] | task956-1d4f9ae2e9254068af768ba1ee430a80 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = rcf5JAe.3qKfiBnlG.xsXGqFIGT.bhhN7EVqdKyARe98T
Output:
| [
"25"
] | task956-0cf87f7edea04f059582cead6c7d4e0e |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = kkLzk3vKkNa6VRdT69Jrbae5edmQnt!aSe3l6dOkp
Output:
| [
"21"
] | task956-bd9fd309318545a591969c35c104242d |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = oFZ1M9HY!UtZVprxuR0L1eLfXg
Output:
| [
"6"
] | task956-cc2c0ac3ab3045bcaad2579e7c73367c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = sCdYNHM3Ya
Output:
| [
"0"
] | task956-655b0b8826264141ae9e6f08320098c8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = alCqM7sdxTvuclynQwf8PQLu
Output:
| [
"4"
] | task956-74d90169ce8c412fa75459d8cb70c7b1 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = niA7sMK4R2Z0rsTC43kw9RLrFlhsTvWzzQKNU3EUfem2SVcen
Output:
| [
"29"
] | task956-e5128ae784ea4491a5eade66a94d88dc |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = xewHTqyV8cqNDyW7BeGSFMdpuC7!
Output:
| [
"8"
] | task956-4713bcf439904282b0a51dcb7dd5e63c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = sOgFljLmEA12gGK1Qi!PgFkYZwcL9PLe87Flv1ea
Output:
| [
"20"
] | task956-e298c32f84f643e3928508a9cdd04be9 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = .EMiBEZqWzz.r0NTWX2wuSyLIumutSN8h1dXzRF4LApcKiQa
Output:
| [
"28"
] | task956-5b05ba896e1145b0accc061adb08441b |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 8KHHHAkL1Lqc7MjXBn1m
Output:
| [
"1"
] | task956-f602add17aa941a5bc514f290796cb5c |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Q2yFcczE0HHV
Output:
| [
"0"
] | task956-6426619799a649419b625c8cd3c26064 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 5bZdv
Output:
| [
"1"
] | task956-ab2324c01786424d957792b52f610623 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = uf50!UwXaHBUAMvCO5dDa2!vHuc1erfelgSKKNio6G1
Output:
| [
"23"
] | task956-9f9fbd0dc9474b00afaeba5c3605a0e8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = bQ6zN
Output:
| [
"1"
] | task956-cc70a08bd4a04852b261df44aadae530 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = .jYIKkoanpKYkFmu3bh2M.jA9Ng360N1qY
Output:
| [
"14"
] | task956-ea4bc08c3e054e629ad1a66074e94fad |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = YrazGFCTTOk7i5sho56oKhukczC1Qw5!D0ZWoysCw
Output:
| [
"21"
] | task956-c5c6557305624e9bb1e6ba2d7cc66dbe |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = SG1np3RCsxkW60XHy
Output:
| [
"0"
] | task956-21303282c884440b93505606e82606c3 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Vl2pcVScZmiuAQFaLCI69xO6
Output:
| [
"4"
] | task956-e5dcd19939bb4fca9e06732af6d46e37 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = PGU.Gs9GlVSdGsjMPOOa!MK1A7H
Output:
| [
"7"
] | task956-c8fc7f1450704b16afaf14891ab7469d |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = HYiDg3psFk
Output:
| [
"0"
] | task956-2e17411d85d84a7e97ce0e7d4f1c9949 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ymEq6XntC913du!tu
Output:
| [
"0"
] | task956-1738466322484b47bbbb185ab829fbc8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = pbmy5zu!E35!!UvJoGOp1B7YWix
Output:
| [
"7"
] | task956-3aba383cbf714a4cbd4777f93cf5ad57 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = qa.cM!g4ZR4F6amupXQzNup4S!GqeWX8t33MoMcscbg7!c
Output:
| [
"26"
] | task956-9f352204632a446ca1c27e77a39d5f41 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = RCTOMW2ZgR5jpiRgAmwWlKH55qpwH.W1k6yQWIAKOq1
Output:
| [
"23"
] | task956-ebaea9d53c544dd693d3c642de264b6e |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = M6tmMXOIUoWmtPuZu8SMAOa!iRo5ywFgXK4ztqYSU63nzyw
Output:
| [
"27"
] | task956-b9406fb3964d4d559f0e460828dface2 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = vNXhxMsXWiQs
Output:
| [
"1"
] | task956-69e9c70ca0db4ff8b8b09fba78306ad4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ZifZ
Output:
| [
"2"
] | task956-fe1bbe1bb1f44d9bb2aacdfac16e4b43 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = w80B5UjMt
Output:
| [
"0"
] | task956-47a01e643ac2420b905678d8b81f0689 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = aG0xZR9enLL0M0
Output:
| [
"0"
] | task956-9718330abc2a47d7898f2854fc317f51 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = SerICk4d7GKMQD3LGqp
Output:
| [
"0"
] | task956-5a722933460c4afe8ffa6ebb2a6fc589 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = jGNCv50iMhHYkNeYxawe0rfluIp87ZUF5T
Output:
| [
"14"
] | task956-e42614f18de641eda8ee2b60bbcb25f1 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = zcJuVdSUJEUqWOR2fF3HDL7Q3M5UHCQsN8l
Output:
| [
"15"
] | task956-2e8c1967f6464466888c31fee6c68adb |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = UEAsU!bgXo1pE2c81AK0SpHMZUu!tNuBNwnlDHrEdELiT5
Output:
| [
"26"
] | task956-03fdcff234fb4454911c49aa60fa0fd8 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = hPAJkcvXhI.2fKqrAU1zTfO
Output:
| [
"3"
] | task956-109389bc353547878d669a79812511d1 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = osET6ELSy12jOGcuVrvs1zzBVHSl1MCo6LwYNiUH5N
Output:
| [
"22"
] | task956-7999843de1924708b661e1991c64a640 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = gUC2KfQI4I7v9MzYkLiVbgonTwcmuWBs4xOgd5PiEkLmNa9YI
Output:
| [
"29"
] | task956-baccb2c3c7254d4eb8e9ab1f12e122d5 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = Rqc5fe0vRHOBFCQgtPE5EwPZi9ncQoDHLw
Output:
| [
"14"
] | task956-61f0f5306baa412fb680023e7b730a31 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = oNbgtMoYNOYPo1cLPdKwLT3rDjLF!Mkvp
Output:
| [
"13"
] | task956-22a8988746e5451b8af7269a4fa5b60e |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = !0ievXa26S3Ps!WuMFMFBruLY8FiU945MxZnExKfkkxor
Output:
| [
"25"
] | task956-d43a1bb011ff4c87a5d49456a71dcf21 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 8bKwCgwpGBfg6H
Output:
| [
"0"
] | task956-415b4aa3f0834d68aaefc36401de2877 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = ugAxB7E0JgBJxnem!yygmx9!0S75DSbZlOksg1z45F
Output:
| [
"22"
] | task956-8dd6639f09454a99bcc6c0130df26eb4 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = !WTJbFy!R65Yw
Output:
| [
"0"
] | task956-e21bf6410c954f359838b79b8de20172 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = CaDtg0slfTLaZ4OaT
Output:
| [
"0"
] | task956-21fa5001390e423992e77bed85c3bd1a |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 28c0U2ljfYUTHDXvTQHIfRxetlbFT5yedKjELRnHKdnbs
Output:
| [
"25"
] | task956-fa1f4f775ed34e0bbd05db96e1ee58ef |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = SGz4ECzIfBZ!TSEVoqvKkQOYU
Output:
| [
"5"
] | task956-78a9581c41874537b39c27f5c10b7fff |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = z62AGRt7UokmmyjhZFuTd!7K49yHi
Output:
| [
"9"
] | task956-5a10865d423e40baa973326baa9f18dd |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = 6QSyRWIzuZoi
Output:
| [
"0"
] | task956-6e0a3217b3134ba8a0a701b9ece21440 |
Definition: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Positive Example 1 -
Input: password = a
Output: 5
Positive Example 2 -
Input: password = aA1
Output: 3
Negative Example 1 -
Input: password = 1337C0d3
Output: 1
Now complete the following example -
Input: password = NdT
Output:
| [
"3"
] | task956-e6fe9c36235544d39ecca78fb444bba0 |
Subsets and Splits