Skip to content

Commit fd1888a

Browse files
authored
Looks more meaningful (TheAlgorithms#2128)
Because in the future, the variable len is not used anywhere
1 parent 40318a0 commit fd1888a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DynamicProgramming/LongestValidParentheses.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public static void main(String[] args) {
4949
if ("quit".equals(str)) {
5050
break;
5151
}
52-
int len = getLongestValidParentheses(str);
53-
System.out.println(len);
52+
53+
System.out.println("Len is: " + getLongestValidParentheses(str));
5454
}
5555

5656
sc.close();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy