leetcode/include/s0020_valid_parentheses.hpp

16 lines
227 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0020_VALID_PARENTHESES_HPP
#define S0020_VALID_PARENTHESES_HPP
2022-11-04 09:22:15 +00:00
#include <stack>
#include <string>
using namespace std;
2022-11-30 10:20:36 +00:00
class S0020 {
2022-11-04 09:22:15 +00:00
public:
bool isValid(string s);
2022-11-30 10:20:36 +00:00
bool match(string s1, string s2);
2022-11-04 09:22:15 +00:00
};
#endif