krahets
|
5f3ad1ed3d
|
A few bug fixes.
|
1 year ago |
Yudong Jin
|
23cce00e09
|
Fix Python build check script. (#911)
* Fix Python build check script.
* Update python code check workflow
* Update python test script.
* Compatible with Python >=3.9
* Compatible with Python >=3.10
* Fix errors in Windows
* test
* Add Python version in installation.md
* Update test_all.py
|
1 year ago |
krahets
|
355cc3a6b1
|
Bug fixes to C code.
|
1 year ago |
krahets
|
db5d1d21f3
|
Several bug fixes.
|
1 year ago |
krahets
|
5b1a219b8b
|
Fine-tune code and texts.
|
1 year ago |
Yudong Jin
|
e441ee4e35
|
Re-implement merge sort function. (#888)
|
1 year ago |
Yudong Jin
|
7822bf9cd4
|
feat: add top_k.c and refactor top_k.js (#889)
* Add top_k.c based on my_heap.c
* Improve the implementation of top_k.js
* Add a comment to top_k
|
1 year ago |
krahets
|
17252b53a9
|
Format code and docs.
|
1 year ago |
krahets
|
d27890d98d
|
Fix automating build workflow for Python
|
1 year ago |
krahets
|
b7c110e5ec
|
Add build check with py_compile
|
1 year ago |
krahets
|
5aacf2dfe0
|
Improve Python code for importing modules.
|
1 year ago |
krahets
|
346c8451de
|
Fix code naming style.
|
1 year ago |
krahets
|
ada37fd1f8
|
Fix Python code.
|
1 year ago |
krahets
|
2976d9ff56
|
Fix Python code.
|
1 year ago |
krahets
|
a8c624fa5a
|
Fix the code in min_path_sum
|
1 year ago |
krahets
|
da5ef293d9
|
fix a typo
|
1 year ago |
krahets
|
fb552987f5
|
Update variable names in list and my_list
|
1 year ago |
krahets
|
4355f8d49f
|
Several bug fixes.
|
1 year ago |
krahets
|
ff8e7ceec5
|
Several bug fixes.
|
1 year ago |
Yudong Jin
|
a46b482951
|
Refactor the hash_map_open_addressing implementation with lazy reallocation. (#776)
|
1 year ago |
krahets
|
9f59c572b5
|
fine tune
|
1 year ago |
krahets
|
cb9c14f5ff
|
fix build_tree, binary_search_tree.cs
fix two figures
|
1 year ago |
krahets
|
d190dbf3c1
|
Several enhancements and fixes
|
1 year ago |
malone6
|
a9d70e9e4b
|
fix: raise error in peek() function of linkedlist_stack.py, linkedlist_queue.py, linkedlist_deque.py (#754)
* 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
---------
Co-authored-by: Yudong Jin <krahets@163.com>
|
1 year ago |
krahets
|
5f814d6538
|
Add comparison between iteration and recursion.
Fix the figure of tail recursion.
Fix two links.
|
1 year ago |
krahets
|
f71b2a40da
|
fix preorder_traversal_iii_compact code
|
1 year ago |
krahets
|
dd72335235
|
Format C, C++, C#, Go, Java, Python, Rust code.
|
1 year ago |
krahets
|
a47a974a6a
|
fix climbing_stairs_constraint_dp code
|
1 year ago |
krahets
|
628d8a516b
|
fix binary_search_tree code
|
1 year ago |
krahets
|
9731a46d67
|
Fix a definition.
|
1 year ago |
krahets
|
ae304bd605
|
Update iteration code.
|
1 year ago |
Yudong Jin
|
3e64f68ae9
|
Add the section of iteration and recursion. (#693)
|
1 year ago |
krahets
|
f5dda8d99a
|
Polish the content
|
1 year ago |
krahets
|
2626de8d0b
|
Polish the chapter
introduction, computational complexity.
|
1 year ago |
krahets
|
c310edb672
|
Polish the chapter of array and linkedlist
|
1 year ago |
krahets
|
6ef4dc6444
|
Fix the content
|
1 year ago |
krahets
|
932d14644d
|
Polish the content
Polish the chapter preface, introduction and complexity anlysis
|
1 year ago |
Yudong Jin
|
71074d88f6
|
Add the section of binary search insertion. (#671)
Refactor the section of binary search edge.
Finetune the figures of binary search.
|
1 year ago |
krahets
|
6da6d24193
|
Fix the code of hash map chaining.
|
1 year ago |
krahets
|
dbe3b4d6ba
|
Fine tune.
|
1 year ago |
krahets
|
b067016bfa
|
Update preorder_traversal_iii.
|
1 year ago |
krahets
|
90af225dae
|
Remove `-> None` for Python functions
|
1 year ago |
krahets
|
bba62bbe75
|
Fix the code of preorder_traversal_iii_compact
|
1 year ago |
Yudong Jin
|
075c3abf88
|
Add the section of max product cutting problem. (#642)
|
1 year ago |
Yudong Jin
|
76f11ae168
|
Add the section of max capacity problem. (#639)
|
1 year ago |
Yudong Jin
|
2b7d7aa827
|
Add the chapter of greedy. (#633)
Add the section of fractional knapsack.
|
1 year ago |
krahets
|
c54536d1a1
|
Modify the problem of preorder_traversal_iii
|
1 year ago |
krahets
|
4e13755023
|
Add implementation of array binary tree.
Rewrite the tree serialization and deserialization methods.
Add applications of array and linked list.
|
1 year ago |
krahets
|
c68f18e480
|
Finetune
|
1 year ago |
krahets
|
1f784dadb0
|
Add Java and C++ code for the chapter of
divide and conquer.
|
1 year ago |