Update deque.cs

This commit is contained in:
Yudong Jin 2022-12-30 16:10:22 +08:00 committed by GitHub
parent 0cf37e3f8e
commit c67363a78e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@ namespace hello_algo.chapter_stack_and_queue
public void Test() public void Test()
{ {
/* 初始化双向队列 */ /* 初始化双向队列 */
// 在 C# 中,将链表 LinkedList 看作双向队列来使用
LinkedList<int> deque = new LinkedList<int>(); LinkedList<int> deque = new LinkedList<int>();
/* 元素入队 */ /* 元素入队 */