krahets
f5407f2aaa
Update ram_and_cache.md
2023-11-26 15:28:20 +08:00
krahets
880f233ca9
Update chapter_array_and_linkedlist/summary.md
2023-11-26 02:05:35 +08:00
krahets
020eb622b7
Add the section of ram_and_cache
2023-11-26 01:51:39 +08:00
krahets
770371527e
Update quick_sort.md
2023-11-26 01:22:10 +08:00
0x6AcE
c5e37c1b41
Simplify the code in array.swift ( #960 )
...
* 简单点
* Apply suggestions from code review
Co-authored-by: nuomi1 <nuomi1@qq.com>
---------
Co-authored-by: Yudong Jin <krahets@163.com>
Co-authored-by: nuomi1 <nuomi1@qq.com>
2023-11-23 15:20:17 +08:00
selear
5b6fb34a82
fix: Use .equals() to compare two strings in Java ( #961 )
2023-11-21 21:20:04 +08:00
Neo
9b35f75505
fix: Initialize go empty slice ( #947 )
...
* Fix: Initialize go empty slice
* Update list.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-20 02:08:29 +08:00
Florance
732750b902
Update time_complexity.md ( #955 )
2023-11-20 02:05:40 +08:00
易春风
9526838a35
feat: add rust workflow ( #952 )
2023-11-18 14:03:39 +08:00
易春风
b8591822d8
Fix the type annotation in Rust ( #951 )
2023-11-18 14:02:00 +08:00
krahets
a01363234c
Add auto-build-and-check workflow for Java.
2023-11-17 01:11:13 +08:00
Yudong Jin
f7c41b6bef
fix: Update C code for compatibility with the MSVC compiler ( #949 )
...
* Replace VLA with malloc
Replace VLA with malloc to make C code
compatible with cl compiler on Windows.
* Fix C code for CI compiler.
* Fix C code compability to CI.
* check the trigger
2023-11-17 00:29:54 +08:00
krahets
e4aa76ed3e
Fix build check trigger path of c and cpp.
2023-11-17 00:24:35 +08:00
krahets
49745cf2d2
Add the link of math.h lib in CMakeList.
2023-11-16 21:14:20 +08:00
Yudong Jin
a999db21ee
feat: Add auto-build-and-test workflow for C and C++ ( #948 )
...
* Add C auto-build-and-test workflow.
* Add auto-build-and-test workflow for C++.
2023-11-16 20:46:37 +08:00
liuyuxin
82f006372e
fix(Dart): Avoid using num as a variable name ( #946 )
2023-11-16 00:32:39 +08:00
Yudong Jin
fcbaf101a4
Several bug fixes and improvements ( #945 )
...
* Update Dockerfile for code debugging.
* Format Python code using Black.
* Improve dark theme by defining html classes for the figures, animations and cover images.
* Fix several glossary translation.
* Update a code comment.
* Fix climbing_stairs_backtrack: the pruning should not require the sorted choices list.
* Update the code of array and list traversal.
* Fix a rendering issue of README.md
* Update code of list traversal.
* Fix array_definition.png
* Update README.md
* Fix max_capacity_moving_short_board.png
* Fix array.dart
* Fix array.dart
* Fix array.dart
* Fix array.dart
2023-11-14 21:27:35 +08:00
易春风
9baf4a1753
Use Vec.last() method to access the top item of stack. ( #942 )
...
* Use Vec.last() method to access the top item of stack.
* Use Vec.last() method to access the top item of stack.
2023-11-13 14:18:29 +08:00
Justin Tse
2b0cf6f9ab
fix: the bug for the array binary tree from ts and js code ( #936 )
2023-11-13 14:06:17 +08:00
jiaxianhua
1f71f6f701
Update linked_list.md ( #935 )
...
There is no need to declare next
2023-11-11 19:53:55 +08:00
易春风
c81d5e091b
Unsize type must be greater than or equal to 0 ( #931 )
2023-11-09 17:21:09 +08:00
hpstory
99fd891d76
feat: add csharp sdk to dockerfile ( #929 )
...
* feature: add csharp sdk to dockerfile
* Update docker-compose.yml
* Update Dockerfile
* remove env file
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-08 17:35:20 +08:00
Yudong Jin
d5ee877fd8
feat: Add Docker for code debugging ( #927 )
...
* Update Dockerfile and docker-compose.yml
* Add Dockerfile for code debugging.
Add installation procedures of python, cpp and java.
2023-11-08 03:20:29 +08:00
Yudong Jin
f0c81ce048
Update basic_data_types.md and reduce size of assembling_blocks.png ( #926 )
...
* Convert a figure to png-8.
* Update basic_data_types.md
2023-11-08 02:19:45 +08:00
Yudong Jin
c6e7ea8112
Update the logo and favicon ( #924 )
...
* Update ieration_and_recursion.md
* Update the logo and favicon.
2023-11-06 23:27:09 +08:00
Yudong Jin
c7b863f705
Several bug fixes ( #919 )
...
* Fix index.md
* Update the badge in index.md
* Fix the programming languages order.
2023-11-04 04:59:15 +08:00
krahets
88099b96fa
Update index.md
2023-11-04 04:17:14 +08:00
Yudong Jin
7c70b5a466
Update README.md ( #918 )
...
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2023-11-04 04:01:06 +08:00
krahets
5f3ad1ed3d
A few bug fixes.
2023-11-03 22:48:43 +08:00
JackYang-hellobobo
6c16276494
Update terminology.md ( #915 )
...
* Update terminology.md
对应链表linked list 为 linked list node ,而不应该是对应下文的列表list node
* Update terminology.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-03 17:51:51 +08:00
krahets
7f26e28280
Update preface.
2023-11-03 17:46:38 +08:00
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
2023-11-02 21:58:14 +08:00
krahets
459697a131
Update README
2023-11-02 01:38:08 +08:00
krahets
71b9ded0b9
Remove the unused files.
2023-11-02 01:22:54 +08:00
Yudong Jin
0217624818
Update README ( #909 )
2023-11-02 01:08:36 +08:00
krahets
355cc3a6b1
Bug fixes to C code.
2023-11-01 05:14:22 +08:00
Yuelin Xin
f7dd05e7a4
Add missing terminologies ( #905 )
...
* Update terminology.md
* Update terminology.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-30 14:16:10 +08:00
krahets
33acfc0af7
Fix a typo
2023-10-30 05:30:49 +08:00
Yudong Jin
6133aa63ba
feat: Add the section of terminologies. ( #902 )
...
* Add the section of terminologies.
* fix format
2023-10-30 05:14:21 +08:00
krahets
e629864852
Prepare 1.0.0b6 release.
2023-10-29 20:22:07 +08:00
Yudong Jin
9c28619839
feat: Reimplement the graph code for C ( #901 )
...
* Reimplement the graph code for C
* Free memory of **vertices.
2023-10-29 19:52:19 +08:00
krahets
db5d1d21f3
Several bug fixes.
2023-10-29 00:09:54 +08:00
krahets
efbbfd8203
Reimplement the graph code for C
2023-10-29 00:08:28 +08:00
Justin Tse
c37f0981f0
feat: refactor top_k.ts ( #899 )
2023-10-28 14:27:52 +08:00
lucas
f98b337144
refactor: Re-implement hanota.c ( #885 )
...
* feat: re-impl hanota.c
* chore: Remove useless comment code
* Update hanota.c
* Update hanota.c
* Update print_util.h
* Update CMakeLists.txt
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-27 23:41:58 +08:00
Yudong Jin
492a69ebca
refactor: Replace vector with array in C code ( #894 )
...
* Re-implement merge sort function.
* Replace vector with array for C.
* fix
2023-10-27 23:26:48 +08:00
krahets
5385057993
Replace "结点" with "节点".
2023-10-27 23:24:13 +08:00
nuomi1
7605cab160
feature(swift): Reimplement merge_sort and top_k ( #898 )
...
* feat: Add swift-collections
* fix: use heap
* refactor: merge
* fix: import HeapModule
2023-10-27 22:59:54 +08:00
Yudong Jin
ba74d4bba7
Reduce the image files size for faster loading. ( #897 )
2023-10-27 20:13:08 +08:00
liuyuxin
1ab83bd3ef
refactor(dart): Re-implement merge sort function ( #896 )
2023-10-27 16:00:26 +08:00