Yudong Jin
|
ae78126d80
|
Update array.go
|
2 years ago |
龚国玮
|
4fb267918b
|
docs(array): add file author, created time
|
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
|
4c9e5cca15
|
Merge pull request #174 from justin-tse/dev-js-hash
Add the JavaScript code and docs for Chapter of Hash Map
|
2 years ago |
justin
|
60c715b041
|
Update JavaScript style (Chapter of Hashing)
|
2 years ago |
Yudong Jin
|
ac90a0fd83
|
Merge pull request #136 from danielsss/typescript
Add the TypeScript code and docs for Chapter of Hash Map #113
|
2 years ago |
Yudong Jin
|
f628fe27d9
|
Update codes/typescript/chapter_hashing/array_hash_map.ts
Co-authored-by: Justin Tse <xiefahit@gmail.com>
|
2 years ago |
justin
|
650872cb05
|
Add the JavaScript code to docs (Chapter of Hashing)
|
2 years ago |
justin
|
630bbac285
|
Add the JavaScript code (Chapter of Hashing)
|
2 years ago |
danielsss
|
528b716766
|
Update hash_map docs
|
2 years ago |
danielsss
|
305915270a
|
Use tricky method to resolve type check
|
2 years ago |
danielsss
|
5724719485
|
Removed hash_map class
|
2 years ago |
Yudong Jin
|
18c43566b4
|
Update summary of the chapter binary tree.
|
2 years ago |
Yudong Jin
|
fc8291494f
|
Merge branch 'master' of github.com:krahets/hello-algo
|
2 years ago |
Yudong Jin
|
01b6c8bb0a
|
Fix my list.
|
2 years ago |
Yudong Jin
|
190e969a0a
|
Merge pull request #164 from WSL0809/patch-1
使用多种「基本数据类型」来初始化「数组」的 C 语言版本
|
2 years ago |
Yudong Jin
|
f9414d705d
|
Merge pull request #151 from youshaoXG/patch-1
add initialization of C++ arrays
|
2 years ago |
Yudong Jin
|
f90f15c77d
|
Update data_and_memory.md
|
2 years ago |
WSL0809
|
1131309783
|
Update data_and_memory.md
使用多种「基本数据类型」来初始化「数组」的 C 语言版本
|
2 years ago |
Yudong Jin
|
8733557f00
|
Update C# code.
|
2 years ago |
Yudong Jin
|
4906021ccb
|
Merge pull request #159 from haptear/master
完善所有c#相关的文档和代码
|
2 years ago |
Yudong Jin
|
0dd9a3a9b8
|
Update array.cs
|
2 years ago |
Yudong Jin
|
b1645c7d7e
|
Fine tune
|
2 years ago |
Yudong Jin
|
a1f67c6484
|
Merge pull request #163 from S-N-O-R-L-A-X/linkedlist_stack
Update linkedlist stack in JS and TS
|
2 years ago |
Yudong Jin
|
17909162fc
|
fine tune
|
2 years ago |
S-N-O-R-L-A-X
|
49fe239cfa
|
fix: remove redundancy
|
2 years ago |
S-N-O-R-L-A-X
|
8060eb89da
|
feat: add linkedlist_stack in js to doc
|
2 years ago |
Yudong Jin
|
e9f4d3e775
|
Merge pull request #161 from fanchenggang/patch-1
Update installation.md
|
2 years ago |
Yudong Jin
|
54092cf37d
|
Update installation.md
|
2 years ago |
zhuzhiqing
|
3339a648d0
|
Merge branch 'master' of https://github.com/haptear/hello-algo
# Conflicts:
# codes/csharp/chapter_array_and_linkedlist/list.cs
# codes/csharp/chapter_array_and_linkedlist/my_list.cs
# codes/csharp/include/PrintUtil.cs
# codes/csharp/include/TreeNode.cs
|
2 years ago |
zhuzhiqing
|
7b538ce21c
|
1.Please remove all the unused libs for every files
2.add a file header for all the files
|
2 years ago |
Farahani
|
b9fa5e7fde
|
Update installation.md
java的源代码使用了JDK9的新特性,大部分java程序员还是使用的JDK8
|
2 years ago |
Yudong Jin
|
c429e5f0bb
|
1. Remove unused libs.
2. Add file headers.
3. Modify file name to match Java's.
4. Fix some issues.
|
2 years ago |
zhuzhiqing
|
a427cb1b4d
|
完善所以c#相关的文档和代码
|
2 years ago |
S-N-O-R-L-A-X
|
c20f7cdaac
|
fix: fix some comment
|
2 years ago |
S-N-O-R-L-A-X
|
0394f0c547
|
feat: add linkedlist_stack in js
|
2 years ago |
Daniel
|
ae0abb6d0c
|
Merge branch 'krahets:master' into typescript
|
2 years ago |
Yudong Jin
|
1646c284f6
|
Update README
|
2 years ago |
Yudong Jin
|
22314be33c
|
Update binary tree (JS).
|
2 years ago |
Yudong Jin
|
ee6842dc9c
|
Merge pull request #157 from JoseHung/master
Add JavaScript for linear search
|
2 years ago |
Yudong Jin
|
539aeefc75
|
Update binary_search.md
|
2 years ago |
JoseHung
|
c4c10afdb1
|
fix the annotation of large number problem
|
2 years ago |
JoseHung
|
5c295bdc31
|
fix the annotation
|
2 years ago |
JoseHung
|
f661a3455d
|
fix the annotation
|
2 years ago |
Yudong Jin
|
919236f479
|
1. Add array representation of binary tree.
2. Update the LEGO example.
3. Update headers of the Python files.
|
2 years ago |
JoseHung
|
1417313341
|
add binary_search in JS
|
2 years ago |
JoseHung
|
c3395be905
|
fix the error about assignment to constant
|
2 years ago |
JoseHung
|
bb20cb9db2
|
add linear_search in JS
|
2 years ago |
S-N-O-R-L-A-X
|
5856e6a173
|
feat: add linkedlist_stack in ts to doc
|
2 years ago |