Skip to content
Yu's Blog

Yu's Blog

Welcome to my blog

Tag: LeetCode 496

Posted on May 19, 2022

Algorithm Pattern – Monotone Stack (LC 496 739 503)

Question Monotone Stack question usually ask you to find the next greater integer in an array. Approach Maintain a monotone stack, which stores index of descending integers, and while you face an element greater than the top of stack, we could assign this element as the next greater integer. Algorithm Pattern Deque<Integer> stack = new …

Continue reading “Algorithm Pattern – Monotone Stack (LC 496 739 503)”

CONTACT ME

My GitHub
My LinkedIn

Recent Posts

  • How to run instance on multiple ports in IntelliJ?
  • Enable Spring Boot Devtools in IntelliJ
  • Algorithm Pattern – Island Programs LC 200 1254 1020 695 1905 694
  • Algorithm Pattern – Binary Search
  • Algorithm Pattern – Sliding Window

Categories

  • Algorithm
  • Android
  • Architecture
  • AWS
  • BlockChain
  • DigitalCurrency
  • Docker
  • Flutter
  • Git
  • Go
  • Java
  • JavaScript
  • Kotlin
  • LambdaCalculus
  • Mac
  • Machine Learning
  • Networking
  • OS
  • Python
  • Server
  • Spring
  • Tool
  • Unity
  • Unreal
  • Vim
  • VSCode
  • Windows
  • WordPress

Tags

  • Algorithm
  • Android Studio
  • AndroidStudio
  • Array
  • AWS
  • BackTracking
  • BFS
  • Binary Search
  • Bit Manipulation
  • Blog
  • BST
  • Comparator
  • DFS
  • DynamicProgramming
  • Express
  • Firebase
  • Flutter
  • git
  • GitHub
  • HashMap
  • Integer
  • Java
  • JavaScript
  • Kotlin
  • LaserDefender
  • LeetCode
  • LinkedList
  • List
  • Mac
  • Node.js
  • OperatingSystem
  • Recursion
  • Server
  • SideProject
  • Sorting
  • Spring
  • Spring Boot
  • String
  • Tree
  • Unity
  • VPN
  • VPS
  • Vultr
  • Wechat
  • Windows
August 2022
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Jul    

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org