leetcode/include/s0496_next_greater_element_i.hpp

16 lines
274 B
C++
Raw Normal View History

2022-12-16 07:45:21 +00:00
#ifndef S0496_NEXT_GREATER_ELEMENT_I_HPP
#define S0496_NEXT_GREATER_ELEMENT_I_HPP
#include <vector>
#include <stack>
#include <unordered_map>
using namespace std;
class S0496 {
public:
vector<int> nextGreaterElement(vector<int>& nums1, vector<int>& nums2);
};
#endif