leetcode/include/s0032_longest_valid_parentheses.hpp
2022-11-21 21:15:56 +08:00

16 lines
247 B
C++

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