Skip to content

Commit 51833e0

Browse files
committed
Fix comment
1 parent 2cfb485 commit 51833e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/dynamicprogramming/LongestCommonSubsequence.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public static String getLCS(String str1, String str2) {
6868
*
6969
* @param str1 The first string.
7070
* @param str2 The second string.
71-
* @param lcsMatrix The matrix storing the lengths of LCSs of substrings of str1
72-
* and str2.
71+
* @param lcsMatrix The matrix storing the lengths of LCSs
72+
* of substrings of str1 and str2.
7373
* @return The LCS string.
7474
*/
7575
public static String lcsString(String str1, String str2, int[][] lcsMatrix) {

0 commit comments

Comments
 (0)