Skip to content

Commit 974a3c8

Browse files
edit 420
1 parent 6a79a49 commit 974a3c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Your ideas/fixes/algorithms are more than welcome!
181181
|423|[Reconstruct Original Digits from English](https://leetcode.com/problems/reconstruct-original-digits-from-english/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_423.java)| O(n) | O(1) | Medium| Math
182182
|422|[Valid Word Square](https://leetcode.com/problems/valid-word-square/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_422.java)| O(n) | O(1) | Easy|
183183
|421|[Maximum XOR of Two Numbers in an Array](https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_421.java)| O(n) | O(1) | Medium | Bit Manipulation, Trie
184-
|420|[Strong Password Checker](https://leetcode.com/problems/strong-password-checker/)|[Solution](../master/src/main/java/com/fishercoder/solutions/StrongPasswordChecker.java)| ? | ? | Hard|
184+
|420|[Strong Password Checker](https://leetcode.com/problems/strong-password-checker/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_420.java)| ? | ? | Hard|
185185
|419|[Battleships in a Board](https://leetcode.com/problems/battleships-in-a-board/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_419.java) | O(m*n) |O(1) | Medium| DFS
186186
|418|[Sentence Screen Fitting](https://leetcode.com/problems/sentence-screen-fitting/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_418.java) | O(n) |O(1) | Medium|
187187
|417|[Pacific Atlantic Water Flow](https://leetcode.com/problems/pacific-atlantic-water-flow/)|[Solution](../master/src/main/java/com/fishercoder/solutions/PacificAtlanticWaterFlow.java) | O(m*n*Max(m,n)) |O(m*n) | Medium| DFS

src/main/java/com/fishercoder/solutions/StrongPasswordChecker.java renamed to src/main/java/com/fishercoder/solutions/_420.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It must NOT contain three repeating characters in a row ("...aaa..." is weak, bu
88
Write a function strongPasswordChecker(s), that takes a string s as input, and return the MINIMUM change required to make s a strong password. If s is already strong, return 0.
99
1010
Insertion, deletion or replace of any one character are all considered as one change.*/
11-
public class StrongPasswordChecker {
11+
public class _420 {
1212
/**Looked at this solution: https://discuss.leetcode.com/topic/63854/o-n-java-solution-by-analyzing-changes-allowed-to-fix-each-condition*/
1313
public int strongPasswordChecker(String s) {
1414
int res = 0, a = 1, A = 1, d = 1;

0 commit comments

Comments
 (0)