From 0d08a11efe7293b95cd0dcc584ffa2a3f8898cc7 Mon Sep 17 00:00:00 2001 From: Pavel Date: Fri, 20 Mar 2026 00:23:18 -0500 Subject: [PATCH] contents: use Python deque instead of queue (#633) --- apps/website/contents/algorithms/queue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/contents/algorithms/queue.md b/apps/website/contents/algorithms/queue.md index ae268d98..3d3309b2 100644 --- a/apps/website/contents/algorithms/queue.md +++ b/apps/website/contents/algorithms/queue.md @@ -40,7 +40,7 @@ Breadth-first search is commonly implemented using queues. | --- | --- | | C++ | [`std::queue`](https://learn.microsoft.com/en-us/cpp/standard-library/queue-class?view=msvc-170) | | Java | [`java.util.Queue`](https://docs.oracle.com/javase/10/docs/api/java/util/Queue.html).Use [`java.util.ArrayDeque`](https://docs.oracle.com/javase/10/docs/api/java/util/ArrayDeque.html) | -| Python | [`queue`](https://docs.python.org/3/library/queue.html) | +| Python | [`deque`](https://docs.python.org/3/library/collections.html#collections.deque) | | JavaScript | N/A | ## Time complexity