krahets
de6945f55a
Polish the contents
...
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2 years ago
krahets
b7daddf88f
Polish the contents.
2 years ago
Guanngxu
351da5c108
update C linked_list init ( #421 )
...
* docs: update C linked_list init
* Update linked_list.md
* Update linked_list.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
9151eaf533
Add typing annotations to Python codes. ( #411 )
2 years ago
krahets
b7fa3bbe86
Fix linked_list.md and hasp_map.md
2 years ago
krahets
ca261a8f46
Update the chapter preface.
2 years ago
krahets
dabe5d5c24
build
2 years ago
krahets
ff6022796c
Fix 结构体 and 类.
2 years ago
花无缺
731487864f
linked_list.md中增加链表结构体定义C语言代码 ( #384 )
2 years ago
krahets
c2d641537e
Add summary for the chapters of introduction, hashing, heap, graph, sorting
2 years ago
krahets
1a49631dba
Unify the headings in mkdocs.yml and the articles.
2 years ago
krahets
7aa44d212c
Remove all the table captions.
2 years ago
krahets
9e99ac06ce
Update the captions of all the figures.
2 years ago
krahets
b25aadae6f
Remove the file headers from the docs.
2 years ago
krahets
2b33f7bc5f
Add step symbols in animations and unify font size for all the figures
2 years ago
krahets
e500b19f5a
Update the labels of the figures.
2 years ago
krahets
d87c9b5084
Add floating-point format in data_and_memory.md
2 years ago
krahets
88b00151b0
Remove the heading numbers
...
in all the source docs.
2 years ago
Yudong Jin
925e05fd03
feat: add the section of Graph Traversal ( #367 )
...
* Graph dev
* Add the section of Graph Traversal.
* Add missing Vertex.java
* Add mkdocs.yml
* Update numbering
* Fix indentation and update array.md
2 years ago
krahets
d1e1d76162
Add sorce code blocks of C to the docs.
2 years ago
Guanngxu
0aea04f142
feat: add array C docs ( #352 )
...
* feat: add arry C docs
* fix: change remove to removeItem
* Update array.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
ec25970e8e
Update .gitignore
...
Add build script for Zig.
2 years ago
krahets
3465b300e9
Add the introduction to the reviewers
...
to the index.md
2 years ago
krahets
e8c78f89f0
Add build script for Go and update Go codes.
2 years ago
krahets
6dc21691ed
Add build scripts for C# and
...
unify the coding style.
2 years ago
krahets
38751cc5f5
Add build script for Swift.
2 years ago
krahets
05f0054005
Add build script for JS and TS codes.
2 years ago
krahets
22b7d65d20
Replace ```js with ```javascript
2 years ago
krahets
0407cc720c
Fix Repo
2 years ago
krahets
ecbf2d1560
1. Add build script for Java.
...
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2 years ago
krahets
ea901af217
1. Add the building util of Python
...
for the markdown docs.
2. Update the deploy.sh
2 years ago
Yudong Jin
f14e3e4c57
Update linear_search and hashing_search.
2 years ago
Yudong Jin
a95fe26303
Fix Python code styles.
...
Update hash_map.
2 years ago
sjinzh
15efaca85d
copy zig codes of chapter_array_and_linkedlist and chapter_computatio… ( #319 )
...
* copy zig codes of chapter_array_and_linkedlist and chapter_computational_complexity to markdown files
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
7ce7386bab
Add Zig code blocks.
2 years ago
Yudong Jin
eb0afc98ec
Number the H1 and H2 headings.
2 years ago
Yudong Jin
ddd5562b60
Fix the index out of bound check in my_list.
2 years ago
Yudong Jin
70c1dba1cd
Update a comment in randomAccess()
2 years ago
weibk
dab16ee53a
update python randomAccess
...
random.randomint(start, stop) 返回 数字的范围是 [start, stop] 是一个闭区间, 如果用len(nums) 有可能会索引超出范围
2 years ago
Yudong Jin
bb657f9517
Add destructors to the C++ codes.
2 years ago
Yudong Jin
251471430c
Merge pull request #226 from nuomi1/feature/list-Swift
...
feat: add Swift codes for list article
2 years ago
Yudong Jin
d6d6a16c7e
Update the access() function of linked_list
2 years ago
Yudong Jin
aaa2ff29f9
Fix all the ** (bolded symbols).
2 years ago
nuomi1
5e23c75870
feat: add Swift codes for list article
2 years ago
Yudong Jin
5c943471c7
Merge pull request #220 from Reanon/bugfix/fix-go-code-style
...
style(go): fix go code style
2 years ago
nuomi1
3b52df2a8f
style: update comment format
2 years ago
reanon
0243957015
doc(code): modify go code in docs
2 years ago
nuomi1
7556558704
feat: add Swift codes for linked_list article
2 years ago
Yudong Jin
73e3452838
Add Swift language blocks to the docs.
2 years ago
Yudong Jin
c411969bd1
Merge branch 'master' of github.com:krahets/hello-algo
2 years ago
nuomi1
f49c674029
feat: add Swift codes for array article
2 years ago
Yudong Jin
694ea4f665
Modify `。** ` to `**。` for better visualization.
2 years ago
Yudong Jin
30b4ab6ba7
Update array (Go).
2 years ago
Yudong Jin
89a5c6b435
Add description of the comment format.
2 years ago
Yudong Jin
410c5d6b62
Free memory after removing
...
a node from a LinkedList or TreeNode.
2 years ago
Yudong Jin
5cb62fd458
Update the array (Go code).
2 years ago
Yudong Jin
82b8a5da39
Merge branch 'master' into master
2 years ago
Yudong Jin
679d5314d9
Update linked_list.md
2 years ago
Yudong Jin
e5497496f9
Update array.md
2 years ago
Cathay
1faad9e187
Merge branch 'master' of github.com:Cathay-Chen/hello-algo
2 years ago
Cathay
1062fe64a3
feat(linked_list): add the Go code to linked_list docs (Chapter of Array and LinkedList)
2 years ago
Cathay
b3e3aa1e72
Merge branch 'krahets:master' into master
2 years ago
Cathay
c0e8b75bfd
feat(array): add the Go code to array docs (Chapter of Array and LinkedList)
2 years ago
龚国玮
f0c3bf5766
docs(array): reduce understanding cost
...
- 去除了并行测试;
- 基于 Java 代码样例,统一了命名风格;
- 基于 Go link 模块代码样例,统一了测试用例风格;
- 我们将 Go 中的 Slice 切片看作 Array 数组。因为这样可以降低理解成本,利于我们将关注点放在数据结构与算法上。
2 years ago
龚国玮
b1be0aab15
docs(array): sample code for golang
...
本次提交包含如下示例代码。
- 遍历数组;
- 初始化数组;
- 扩展数组长度;
- 在数组中查找指定元素;
- 随机返回一个数组元素;
- 删除索引 index 处元素;
- 在数组的索引 index 处插入元素 num。
所有数组约定长度为 5。原因如下:
在 goalng 中,必须声明数组的长度,例如:nums := [5]int{1,2,3,4,5}。如果不声明长度,则被称为切片。
使用的注释没有按照 golang 的编程惯例,而是倾向于使用文档上下文的注释约定。
所以所有函数注释均使用了 `/* ... */`,而不是双斜杠 `//`。
2 years ago
Yudong Jin
8733557f00
Update C# code.
2 years ago
Yudong Jin
b1645c7d7e
Fine tune
2 years ago
zhuzhiqing
a427cb1b4d
完善所以c#相关的文档和代码
2 years ago
Yudong Jin
f3ef226874
Remove the spaces between “ ” and 中文 aside.
2 years ago
Yudong Jin
a8fb1a4f41
Update source codes.
2 years ago
Ja_ve
030042e689
Update array.md
...
数组插入应该取不到索引值才对
2 years ago
machangxin
4fa41ce08a
fixed clear list in Go
2 years ago
machangxin
71c3ed70a4
Merge branch 'master' of https://github.com/msk397/hello-algo
2 years ago
machangxin
c5f7faaf15
list using go
2 years ago
ming
0a0374efa0
Update linked_list.md to add csharp code.
2 years ago
徐彤
94f66d3f06
Update C# array code and doc
...
Add some comments and make code specification
2 years ago
Ming
d61196de3a
Update array.md,fix md formatting errors
...
Fix md formatting errors
2 years ago
Ming
92aa96d8f7
Update array.md Add the C# code to docs ( Chapter of Array)
...
Add the C# code to docs ( Chapter of Array)
2 years ago
Yudong Jin
e038eb4f24
Merge branch 'dev' of github.com:justin-tse/hello-algo into justin-tse-dev
2 years ago
IsChristina
dc3ac1fae6
add ;
2 years ago
justin
aceed8f87f
Add JavaScript code to docs (Chapter of list)
2 years ago
justin
0688cf874c
Add JavaScript code to docs (Chapter of linked_list)
2 years ago
justin
5fbdff1b41
Update JavaScript and TypeScript code to docs (Chapter of Array)
2 years ago
IsChristina
885be1e46c
add remaining code for Array and LinkedList
2 years ago
Yudong Jin
a58235cef9
Merge c5b6566f4e
2 years ago
Yudong Jin
122b0eca26
Update figures.
2 years ago
Yudong Jin
c8336df86d
Fix array.md
2 years ago
justin
47db74892d
Add TypeScript code to docs (Chapter of Array)
2 years ago
Yudong Jin
ebf9024136
Add Go codes to docs, including
...
the chapter of stack and queue, the chapter of tree.
2 years ago
Yudong Jin
9bd5980a81
Organizing all the code blocks.
2 years ago
Yudong Jin
e20bc251f5
Add python code of chapter queue to docs.
2 years ago
Yudong Jin
8669e06414
Update stack and queue.
2 years ago
Yudong Jin
c1d2e0de09
Modify a naming of JavaScript.
2 years ago
Yudong Jin
1c68a860f8
Merge branch 'js-dev'
2 years ago
Yudong Jin
0c24343ad7
Add an imortant tip.
2 years ago
Yudong Jin
731e98fc25
Add C++ codes for the chapter
...
array and linked list.
2 years ago
IsChristina
d62d8a4916
add javascript array
2 years ago
krahets
cbf4ab0aaa
Add Python codes for the chapter
...
of array and linked list.
2 years ago
krahets
faba5af781
Update README
2 years ago
krahets
33d79ea6da
Update docs for deployment on Vercel.
2 years ago