Refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "s0032_longest_valid_parentheses.hpp"
|
||||
|
||||
int Solution::longestValidParentheses(string s) {
|
||||
int S0032::longestValidParentheses(string s) {
|
||||
int maxans = 0, n = s.length();
|
||||
vector<int> dp(n, 0);
|
||||
for (int i = 1; i < n; i++) {
|
||||
|
||||
Reference in New Issue
Block a user