Skip to content

Commit 80676e6

Browse files
authored
Update Find_Longest_Common_Substring.java
1 parent e9acc4d commit 80676e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DynamicProgramming/LongestCommonSubstring/Find_Longest_Common_Substring.java

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
https://www.geeksforgeeks.org/print-longest-common-substring/
23
34
Using the DP Approach-
45
We construct a matrix to keep track of maximal length suffix of all substrings. We can find the maximal value from this matrix and traverse from that cell diognally upwards till the cell value becomes 0.

0 commit comments

Comments
 (0)