Commit graph

14 commits

Author SHA1 Message Date
Yudong Jin
5ddcb60825
Format python codes with black. (#453) 2023-04-09 05:05:35 +08:00
Yudong Jin
8918ec9079
refactor: Follow the PEP 585 Typing standard (#439)
* Follow the PEP 585 Typing standard

* Update list.py
2023-03-23 18:51:56 +08:00
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque (#415) 2023-03-13 21:58:21 +08:00
Yudong Jin
9151eaf533
Add typing annotations to Python codes. (#411) 2023-03-12 18:49:52 +08:00
krahets
7c501140f0 Update code style for Python 2023-03-03 03:07:22 +08:00
方圆
f0d8d8b1b0
feat: add ArrayDeque (#348)
* 双向队列: java 代码

* 双向队列: markdown 内容

* Rewrite array_deque.java
Update array_queue.java, linkedlist_deque.java

* Add ArrayDeque figures and rewrite the contents

---------

Co-authored-by: krahets <krahets@163.com>
2023-02-16 02:17:15 +08:00
Yudong Jin
5eae708035 Fix array queue. 2023-02-01 03:23:29 +08:00
Yudong Jin
919236f479 1. Add array representation of binary tree.
2. Update the LEGO example.
3. Update headers of the Python files.
2022-12-23 00:44:40 +08:00
Yudong Jin
f39636cb63 Update the structure of the chapter
of binary tree.
2022-12-21 17:19:39 +08:00
Yudong Jin
7283bbaf6f Update the chapter of stack and queue. 2022-12-20 21:33:14 +08:00
Yudong Jin
e20bc251f5 Add python code of chapter queue to docs. 2022-12-02 00:09:34 +08:00
pengchzn
59e46ada82 Add python code for queue 2022-12-01 06:53:08 +08:00
pengchzn
a2b7586c98 Add python code for queue 2022-11-30 12:15:50 +08:00
krahets
9a861140d8 Rearrange the chapters.
Start to translate codes from Java to Python.
2022-11-25 02:04:38 +08:00