Skip to content

Commit

Permalink
before military service
Browse files Browse the repository at this point in the history
  • Loading branch information
elarabyelaidy19 committed Oct 11, 2022
1 parent 9991a26 commit 05bd2f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion DFS/DFS.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import java.nio.file.attribute.GroupPrincipal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;

Expand Down Expand Up @@ -111,7 +113,7 @@ public HashMap<Integer, List<Integer>> buildGraph(int[][] edges, int n) {
// Largest Components

// ==================================================================================

public List<List<Integer>> pacificAtlantic(int[][] heights) {
List<List<Integer>> res = new LinkedList<>();
if(heights == null || heights.length == 0 || heights[0].length == 0)
return res;
Expand Down
5 changes: 4 additions & 1 deletion LeetcodeRefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
> OOP Main ideas.
## [Graph Algorithms](https://leetcode.com/discuss/study-guide/2360573/become-master-in-graph)
> Graph Algorithms.
> Graph Algorithms.
# Binary Search
- [Binary Search](https://leetcode.com/problems/search-insert-position/discuss/249092/Come-on-forget-the-binary-search-patterntemplate!-Try-understand-it!)

0 comments on commit 05bd2f1

Please sign in to comment.