leetcode/include/s0032_longest_valid_parentheses.hpp

16 lines
247 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;
class Solution {
public:
int longestValidParentheses(string s);
};
#endif