Class Solution
- java.lang.Object
-
- g1201_1300.s1222_queens_that_can_attack_the_king.Solution
-
public class Solution extends Object
-
-
Constructor Summary
Constructors Constructor Description Solution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dfs(Map<Integer,Set<Integer>> queens, int x, int y, List<List<Integer>> result, String direction)
List<List<Integer>>
queensAttacktheKing(int[][] queens, int[] king)
-