16 lines
247 B
C++
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
|