leetcode/include/s0032_longest_valid_parenth...

16 lines
244 B
C++

#ifndef S0032_LONGEST_VALID_PARENTHESES_HPP
#define S0032_LONGEST_VALID_PARENTHESES_HPP
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
class S0032 {
public:
int longestValidParentheses(string s);
};
#endif