leetcode/include/s0020_valid_parentheses.hpp
2022-11-30 18:20:36 +08:00

16 lines
227 B
C++

#ifndef S0020_VALID_PARENTHESES_HPP
#define S0020_VALID_PARENTHESES_HPP
#include <stack>
#include <string>
using namespace std;
class S0020 {
public:
bool isValid(string s);
bool match(string s1, string s2);
};
#endif