leetcode/include/s0503_next_greater_element_ii.hpp

15 lines
231 B
C++
Raw Normal View History

2022-12-16 08:12:04 +00:00
#ifndef S0503_NEXT_GREATER_ELEMENT_II_HPP
#define S0503_NEXT_GREATER_ELEMENT_II_HPP
#include <vector>
#include <stack>
using namespace std;
class S0503 {
public:
vector<int> nextGreaterElements(vector<int>& nums);
};
#endif