↓
快轉到主要內容
Blog
分類
演算法
後端技術
資料庫
分散式系統
面試經歷
實習經歷
LeetCode
論文發表
所有標籤
繁體中文
English
繁體中文
繁體中文
English
繁體中文
Blog
分類
演算法
後端技術
資料庫
分散式系統
面試經歷
實習經歷
LeetCode
論文發表
所有標籤
Next-Greater-Element
LeetCode 496: Next Greater Element I
2025-08-09
·
1 分鐘
LeetCode
Daily
Easy
Array
Stack
Monotonic-Stack
Hash-Map
Next-Greater-Element
單調遞減堆疊處理 nums2,預先建立下一個更大元素對照表,回答 nums1 查詢。