mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 10:26:27 +08:00
16574186ee
* fix: linkedlist_stack.py 中的peek方法需要判空raise Error 栈空的时候不能再 peek() 。另外由于 pop() 复用了 peek() ,栈空时返回的 None 会传递到 pop() 中的 num ,导致后续的继续执行 self.peek.next 报错等后续问题 * Update linkedlist_stack.py * Update linkedlist_queue.py * Update linkedlist_deque.py * feat: Move the pagination nav above the comments * feat: Move the pagination nav above the comments * Delete docs/overrides/partials/footer.html * Update content.html --------- Co-authored-by: Yudong Jin <krahets@163.com> Co-authored-by: long.ma <long.ma@sumscope.com> |
||
---|---|---|
.. | ||
assets | ||
chapter_appendix | ||
chapter_array_and_linkedlist | ||
chapter_backtracking | ||
chapter_computational_complexity | ||
chapter_data_structure | ||
chapter_divide_and_conquer | ||
chapter_dynamic_programming | ||
chapter_graph | ||
chapter_greedy | ||
chapter_hashing | ||
chapter_heap | ||
chapter_introduction | ||
chapter_preface | ||
chapter_reference | ||
chapter_searching | ||
chapter_sorting | ||
chapter_stack_and_queue | ||
chapter_tree | ||
index.assets | ||
javascripts | ||
overrides/partials | ||
stylesheets | ||
index.md |