Class Solution
- java.lang.Object
-
- g0801_0900.s0882_reachable_nodes_in_subdivided_graph.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
getReachableNodes(Map<Integer,Map<Integer,boolean[]>> graph, Set<Integer> traceNodes, Set<Integer> router, Integer fromNode, int maxMoves)
int
reachableNodesTle(int[][] edges, int maxMoves, int n)
-