Skip to content
Yu's Blog

Yu's Blog

Welcome to my blog

Day: May 19, 2022

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

  • 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
  • Algorithm Pattern – Rotate & Spiral Array (LC 48 54 59)

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
May 2022
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Apr    

Meta

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