leetcode/include/s0020_valid_parentheses.hpp

15 lines
186 B
C++
Raw Normal View History

2022-11-04 09:22:15 +00:00
#ifndef S0020_VALID_PARENTHESES
#define S0020_VALID_PARENTHESES
#include <stack>
#include <string>
using namespace std;
class Solution {
public:
bool isValid(string s);
};
#endif