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