File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/com/fishercoder/solutions Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -472,6 +472,7 @@ Your ideas/fixes/algorithms are more than welcome!
472
472
|55|[ Jump Game] ( https://leetcode.com/problems/jump-game/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_55.java ) |O(n)|O(1)|Medium| Greedy
473
473
|54|[ Spiral Matrix] ( https://leetcode.com/problems/spiral-matrix/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_54.java ) |O(m* n)|O(m* n)|Medium| Array
474
474
| 53| [ Maximum Subarray] ( https://leetcode.com/problems/maximum-subarray/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_53.java ) | O(n)| O(1)| Easy|
475
+ | 52| [ N-Queens II] ( https://leetcode.com/problems/n-queens-ii/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_52.java ) | O(?)| O(?)| Hard|
475
476
| 51| [ N-Queens] ( https://leetcode.com/problems/n-queens/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_51.java ) | O(?)| O(?)| Hard|
476
477
| 50| [ Pow(x, n)] ( https://leetcode.com/problems/powx-n/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_50.java ) | O(logn)| O(logn)| Medium|
477
478
|49|[ Group Anagrams] ( https://leetcode.com/problems/anagrams/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_49.java ) |O(m* logn)|O(m* n)|Medium| HashMap
Original file line number Diff line number Diff line change 6
6
/**
7
7
* Created by fishercoder on 2/19/17.
8
8
*/
9
- public class NQueensII {
9
+ public class _52 {
10
10
11
11
public int totalNQueens (int n ) {
12
12
List <List <String >> result = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments