Skip to content
Merged
Prev Previous commit
Next Next commit
Update 1143-Longest-Common-Subsequence.java
  • Loading branch information
mitchellirvin authored Jul 23, 2022
commit d5ee058bda35be5dee098da94f6da28cf52b2972
2 changes: 1 addition & 1 deletion java/1143-Longest-Common-Subsequence.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public int LCS(String s1, String s2, int i, int j, int[][] dp) {
}


// Itrative version
// Iterative version
class Solution {
public int longestCommonSubsequence(String text1, String text2) {
//O(n*m)/O(n*m) time/memory
Expand Down