leetcode/include/s0076_minimum_window_substr...

18 lines
299 B
C++
Raw Normal View History

2022-11-29 10:25:47 +00:00
#ifndef S0076_MINIMUM_WINDOW_SUBSTRING_HPP
#define S0076_MINIMUM_WINDOW_SUBSTRING_HPP
#include <string>
#include <unordered_map>
2022-11-30 08:30:40 +00:00
#include <climits>
2022-11-29 10:25:47 +00:00
using namespace std;
2022-11-30 10:20:36 +00:00
class S0076 {
2022-11-29 10:25:47 +00:00
public:
string minWindow(string s, string t);
unordered_map<char, int> ori, cnt;
bool check();
};
#endif