Data structure - stack and queue
Link, data structure - stack and queue (2) stack Data structure - stack and queue (II) stack
data structure
Stack and queue (II) queue
Mind map
3.2.1 basic concept of queue
1. Concept
A Queue is a linear table that can only be inserted at one end and deleted at the other end
Queue is a special linear structure. It only allows de ...
Posted by mdnghtblue on Fri, 17 Sep 2021 21:50:53 +0200
leetcode 239 maximum value of sliding window
preface
Title: 239. Maximum value of sliding window
Reference problem solution: Maximum value of sliding window - Official solution of force buckle
Submit code
Violent solution
The simplest way is to solve it violently. The time complexity is
O
(
k
...
Posted by fxpepper on Sat, 11 Sep 2021 20:07:04 +0200