Commit graph

33 commits

Author SHA1 Message Date
Yudong Jin
abf1f115bf
Bug fixes and improvements (#1581)
* A bug fixes

* Sync zh and zh-hant versions.

* Fix a question in chapter_array_and_linkedlist/summary.md

* Optimize a definition in what_is_dsa.md

* Fix the Contributing guidelines for Chinese-to-English.

* Add a q&a in chapter_array_and_linkedlist/summary.md

* Sync zh and zh-hant versions.

* Update .gitignore

* Sync zh and zh-hant versions.
2024-12-04 17:58:28 +08:00
Yudong Jin
b10091c5f9
Several enhancements and bug fixes (#981)
* Update the installation section.

* Fix storage_pyramid.png

* Update the landing page.

* Update index.md

* Add download buttons to the landing page.

* Update the button style.

* Update .gitignore
2023-12-06 23:26:53 +08:00
krahets
7e15726bb5 Update .gitignore 2023-10-08 04:34:53 +08:00
krahets
af65ab08ef Update .gitignore
Remove prev and next button in footer.html
2023-09-21 20:48:54 +08:00
malone6
16574186ee
feat: add previous and next button in content.html (#763)
* 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>
2023-09-21 05:39:29 -05:00
krahets
a6c5f104f1 Remove util submodule. 2023-05-07 00:19:39 +08:00
krahets
40e6d2b415 Rename the common modules. 2023-04-24 04:20:51 +08:00
krahets
f8513455b5 Format the Java codes with the Reat Hat extension. 2023-04-14 00:12:10 +08:00
Reanon
c837882dbd
feat(counting_sort): support counting_sort in c/go (#431)
* feat(go/counting_sort): support counting_sort in go

* feat(test): support counting_sort_naive testcase

* feat(go/counting_sort): support counting sort

* feat(c/counting_sort): support counting_sort in c
2023-03-20 21:16:25 +08:00
krahets
dc72f8b277 Update .gitignore 2023-03-03 03:12:34 +08:00
krahets
7e9e6b000c Update the code style for Python. 2023-03-03 03:04:25 +08:00
Reanon
327f385d32
feat(go/graph): add go code for graph_dfs/bfs (#372)
* feat(vertex): add a vertex pkg

* feat(graph): add graph_bfs in go

* feat(graph): add graph_dfs in go

* fix(graph): fix comment

* fix(graph): fix graph_adj_list

* fix(go/graph): fix graph_adjacency

* fix(c): gitignore

* feat(graph): print order adjList graph

* fix(graph): remove order print

* Update graph_adjacency_list_test.go

* Update .gitignore

* Update .gitignore

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-27 20:34:30 +08:00
krahets
107110d2d2 Update .gitignore 2023-02-24 01:12:48 +08:00
krahets
ec25970e8e Update .gitignore
Add build script for Zig.
2023-02-09 22:57:25 +08:00
krahets
22b7d65d20 Replace ``js with ``javascript 2023-02-08 04:27:55 +08:00
krahets
ea901af217 1. Add the building util of Python
for the markdown docs.
2. Update the deploy.sh
2023-02-06 23:23:21 +08:00
Yudong Jin
6778557056 Fix avl_tree.md 2023-02-05 14:18:57 +08:00
Yudong Jin
f14e3e4c57 Update linear_search and hashing_search. 2023-02-04 23:49:37 +08:00
Yudong Jin
a95fe26303 Fix Python code styles.
Update hash_map.
2023-02-03 20:03:30 +08:00
Yudong Jin
7d14c9440e Unify the function naming of
queue from `offer()` to `push()`
2023-02-02 01:43:01 +08:00
reanon
24cdcd54df feat(codes/c): add C include/ codes and modify exist C codes 2023-01-11 00:55:21 +08:00
reanon
17de5fd5d1 feat(include): add c code 2023-01-11 00:52:32 +08:00
Yudong Jin
e8f7d8f8ba Update .gitignore 2023-01-08 20:30:09 +08:00
Yudong Jin
dcc3b2e35b Optimize arrToTree function
in java, cpp, py, go, js, ts.
2023-01-08 19:03:22 +08:00
danielsss
1ef6cd0987
updated: .gitignore 2022-12-20 12:14:17 +11:00
Yudong Jin
d934ce070a Remove __pycache__ 2022-11-25 13:22:59 +08:00
reanon
09d89dc9ad feat(chapter1): add go code to chapter1
1.add go code to chapter_computational_complexity
2.add go code to space_time_tradeoff.md
3. Indentation of Go code is tab in *.go , 4 spaces in *.md
2022-11-25 09:10:27 +08:00
krahets
0a52e531c1 Add merge sort, and sorting algorithm. 2022-11-24 01:12:14 +08:00
krahets
33d79ea6da Update docs for deployment on Vercel. 2022-11-22 17:47:26 +08:00
krahets
e60dc5dc49 Add bubble sort, insertion sort. 2022-11-22 04:17:46 +08:00
krahets
8f8f6319af Add Java codes, and license. 2022-11-08 02:58:42 +08:00
krahets
e604470259 Add index.md 2022-11-04 19:12:12 +08:00
krahets
f615ad42ef first commit 2022-11-04 19:09:51 +08:00