hello-algo/codes
beintentional 3858048d0f
更新队列的链表实现中 self.__front 判空的方式 (#297)
* 更新队列的链表实现中 self.__front 判空的方式

self.__front 初始化为 None, 元素入队判断队列是否为空,延用头节点的初始化值 None 而不是 0

* Update linkedlist_queue.py

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-01-28 00:30:37 +08:00
..
c fix(codes/c): Fix unknown behavior when size is 0 or arr is a null pointer (#288) 2023-01-21 01:16:22 +08:00
cpp Update the comments in 2023-01-17 01:53:12 +08:00
csharp Update a comment in randomAccess() 2023-01-17 02:10:52 +08:00
go feat(sort/radix_sort): add go codes 2023-01-18 14:41:31 +08:00
java Update linkedlist_deque.java 2023-01-20 02:56:50 +08:00
javascript Update the comments in 2023-01-17 01:53:12 +08:00
python 更新队列的链表实现中 self.__front 判空的方式 (#297) 2023-01-28 00:30:37 +08:00
rust 🌈 style(computational_complexity): remove cargo-single comment 2023-01-15 20:01:59 +01:00
swift feat: add Swift codes for binary_search_tree article (#296) 2023-01-27 01:52:51 +08:00
typescript fix: 二分查找,左闭右开区间实现中,注释区间范围右侧符号应该是)而不应该是] (#286) 2023-01-19 21:06:24 +08:00
zig add zig codes for Section 'Binary Tree' (#292) 2023-01-21 16:19:26 +08:00