leetcode/include/s0239_sliding_window_maximum.hpp
Sainnhe Park d7e65dd894
All checks were successful
continuous-integration/drone/push Build is passing
Priority Queue
2022-12-08 21:05:07 +08:00

16 lines
252 B
C++

#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