leetcode/include/s0032_longest_valid_parentheses.hpp

16 lines
244 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0032_LONGEST_VALID_PARENTHESES_HPP
#define S0032_LONGEST_VALID_PARENTHESES_HPP
2022-11-21 08:51:23 +00:00
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
2022-11-30 10:20:36 +00:00
class S0032 {
2022-11-21 08:51:23 +00:00
public:
int longestValidParentheses(string s);
};
#endif