[LeetCode] 1. A rare but useful data structure (continuously updated)

This article is mainly used to record some rare but very useful data structures encountered when brushing LeetCode, such as deque, monotonic stack, etc., and summarize them here.

1. Deque

1. Print binary tree III from top to bottom (Sword refers to Offer 32-III)

Two, monotonic stack

Guess you like

Origin blog.csdn.net/qq_39642978/article/details/112000144