Recent Posts

Trapping Rain Water

1 minute read

42. Trapping Rain Water Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap afte...

Sliding Window Maximum

1 minute read

239. Sliding Window Maximum ​ You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to...