496
-
[LeetCode] 496. Next Greater Element ILeetCode 2021. 10. 19. 13:38
https://leetcode.com/problems/next-greater-element-i/ Next Greater Element I - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Next Greater Element I nums2 배열에 수들이 들어있다. nums1 배열은 nums2의 부분집합인데, 배열의 순서가 조금 다르다. Next Greater Element 란 배열에서 해당 수 보다 크고, 해당 수보다 index가 뒤에 있는 수중 가장 작은 수이..