leetcode/include/s0239_sliding_window_maximum.hpp

16 lines
252 B
C++
Raw Normal View History

2022-12-08 13:05:07 +00:00
#ifndef S0239_SLIDING_WINDOW_MAXIMUM_HPP
#define S0239_SLIDING_WINDOW_MAXIMUM_HPP
#include <vector>
#include <queue>
#include <utility>
using namespace std;
class S0239 {
public:
vector<int> maxSlidingWindow(vector<int>& nums, int k);
};
#endif