Update stack.md
This commit is contained in:
parent
fd3eaaf3fd
commit
92a89d04de
@ -872,7 +872,7 @@ comments: true
|
||||
|
||||
!!! tip
|
||||
|
||||
实际编程中,我们一般直接将 `ArrayList` 或 `LinkedList` 当作「栈」来使用。我们仅需通过脑补来屏蔽无关操作,而不用专门去包装它。
|
||||
某些语言并未专门提供栈类,但我们可以直接把该语言的「数组」或「链表」看作栈来使用,并通过“脑补”来屏蔽无关操作,而无需像上述代码一样去特意包装一层。
|
||||
|
||||
## 栈典型应用
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user