curtishd
4d9bbe72e1
Improve the consistency between code and comments in Kotlin ( #1268 )
...
* style(kotlin): Make code and comments consistent.
* style(kotlin): convert comment location.
* style(c): Add missing comment.
* style(kotlin): Remove redundant semicolon, parenthesis and brace
* style(kotlin): Put constants inside the function.
* style(kotlin): fix unnecessary indentation.
* style(swift): Add missing comment.
* style(kotlin): Add missing comment.
* style(kotlin): Remove redundant comment.
* style(kotlin): Add missing comment.
* Update linked_list.kt
* style(csharp,js,ts): Add missing comment.
* style(kotlin): Remove empty lines.
* Update list.cs
* Update list.js
* Update list.ts
* roll back to commit 1
* style(cs,js,ts): Add missing comment in docfile.
* style(kotlin): Use normal element swapping instead of scope functions.
7 months ago
khoaxuantu
043085d0ea
fix: adapt missing ruby style guide ( #1216 )
8 months ago
Yudong Jin
2b1a98fb61
Use underline format for the technical terms ( #1213 )
...
* Use underline format for the technical terms
* Bug fixes
8 months ago
khoaxuantu
5ce088de52
Fix inconsistent comments Ruby - chapter array and linked list ( #1202 )
...
* fix: inconsistent comments Ruby - chapter array and linked list
* fix: better Ruby code & comments
8 months ago
Yudong Jin
57bdfd6284
Add Ruby code blocks to the documents ( #1200 )
...
* Add Ruby code blocks to documents
* Remove Ruby code from en/docs
8 months ago
khoaxuantu
85ca4cce43
feat: Add ruby code - chapter "array & linked list" ( #1158 )
...
* feat: add ruby code chapter array & linked list
- array.rb
- linked_list.rb
- list.rb
- my_list.rb
* feat: add ruby code blocks
* chore: fix convention
8 months ago
curtishd
82a7dc9dcc
Add kotlin code block for chapter array and linkedlist ( #1179 )
...
* add kotlin code block for chapter_array_and_linkedlist.
* modified comment.
* Update list.md
* Update linked_list.md
* fix some indentation.
* fix incorrect display
8 months ago
Yudong Jin
202450420d
Add the kotlin blocks to the documents ( #1170 )
8 months ago
Yudong Jin
0b7e99dafa
feat: Adjust the size of pythontutor blocks ( #1036 )
...
* Update the style of the python tutor blocks
* Use pythontutor links instead of iframe in the documents
10 months ago
Yudong Jin
ddd375af20
feat: Add visualizing code blocks based on the pythontutor ( #1029 )
...
* Update copyright
* Update the Python code
* Fix the code comments in ArrayBinaryTree
* Fix the code comments in ArrayBinaryTree
* Roll back time_comlexity.py
* Add the visualizing code(pythontutor) blocks to the chapter complexity, data structure, array and linked list, stack and queue, hash table, and backtracking
* Fix the code comments
11 months ago
Yudong Jin
ed4de4644f
Revised the book. ( #987 )
11 months ago
Yudong Jin
e720aa2d24
feat: Revised the book ( #978 )
...
* Sync recent changes to the revised Word.
* Revised the preface chapter
* Revised the introduction chapter
* Revised the computation complexity chapter
* Revised the chapter data structure
* Revised the chapter array and linked list
* Revised the chapter stack and queue
* Revised the chapter hashing
* Revised the chapter tree
* Revised the chapter heap
* Revised the chapter graph
* Revised the chapter searching
* Reivised the sorting chapter
* Revised the divide and conquer chapter
* Revised the chapter backtacking
* Revised the DP chapter
* Revised the greedy chapter
* Revised the appendix chapter
* Revised the preface chapter doubly
* Revised the figures
12 months ago
hpstory
56b20eff36
feat(csharp) .NET 8.0 code migration ( #966 )
...
* .net 8.0 migration
* update docs
* revert change
* revert change and update appendix docs
* remove static
* Update binary_search_insertion.cs
* Update binary_search_insertion.cs
* Update binary_search_edge.cs
* Update binary_search_insertion.cs
* Update binary_search_edge.cs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
12 months ago
Neo
9b35f75505
fix: Initialize go empty slice ( #947 )
...
* Fix: Initialize go empty slice
* Update list.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
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
1 year ago
krahets
5385057993
Replace "结点" with "节点".
1 year ago
krahets
5392afd44b
fix several bugs
1 year ago
Yudong Jin
faa44fecd2
Squash the language code blocks and fix list.md ( #865 )
1 year ago
krahets
227bd66223
Update Dockerfile and mkdocs.yml
...
Fix a variable name in list.md
1 year ago
krahets
fb552987f5
Update variable names in list and my_list
1 year ago
gledfish
e5f8c93f5d
fix a Python variable name in list.md
...
Python 代码中的列表命名为list时,会出现如下错误。
list:list[int] = [1, 2, 3, 4, 5]
TypeError: list indices must be integers or slices, not type
建议修改为list2
1 year ago
krahets
b39c2a94d3
Move docs/zh back to docs.
...
Move docs/overrides to overrides/.
Other fine tunes.
1 year ago
krahets
6f7e768cb7
Move docs/* to docs/zh/*
1 year ago
krahets
400b3914f6
Move docs/zh back to docs.
1 year ago
krahets
f1ef7e9d10
Move documents to a sub-directory
...
to support multi-language selector.
1 year ago
krahets
9f59c572b5
fine tune
1 year ago
Yudong Jin
9c3b7b6422
Sort the coding languages by applications. ( #721 )
1 year ago
krahets
57851ab11e
Update punctuation
1 year ago
krahets
c5a7323817
Replace ":" with "。"
1 year ago
krahets
981144e42d
1. lower-case nouns
...
2. fix 2 figures
3. Replace some 「」 by “”
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
埃拉
9ed16db68e
Complement to Rust code in the Chapter array and linked list / Time Complexity. ( #657 )
...
* Complement to Rust code in the Chapter array and linked list
* Complement to Rust code in the Time Complexity
* Remove this Rust struct from 380 to 383.
* Address the comments from @night-cruise
* Add more comments in list and time complexity
* Add more comments in linked list
1 year ago
krahets
4bc6b8af7b
finetune
1 year ago
krahets
b9b324b298
Use abbreviation for JavaScript and TypeScript
1 year ago
Yudong Jin
027bdd6510
Release Rust code to documents. ( #656 )
1 year ago
hpstory
978d3c2ed7
fix(csharp): reformat csharp codes and docs ( #652 )
...
* fix(csharp): reformat the C# codes and docs
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
liuyuxin
281c0c618a
feat: modify some Dart codes and add Dart code blocks to the docs ( #543 )
1 year ago
Yudong Jin
025051c81b
Add Dart codes to the documents. ( #529 )
1 year ago
krahets
e196962d0a
Simplify the declarations of the Python code.
2 years ago
Yudong Jin
dbc4906582
Publish the C codes to the docs. ( #469 )
2 years ago
krahets
9a74d9a9d1
Polish the chapter of searching and sorting.
2 years ago
krahets
10e2180013
Unify the comment style of python codes
2 years ago
krahets
de6945f55a
Polish the contents
...
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2 years ago
Yudong Jin
9151eaf533
Add typing annotations to Python codes. ( #411 )
2 years ago
krahets
dabe5d5c24
build
2 years ago
krahets
1a49631dba
Unify the headings in mkdocs.yml and the articles.
2 years ago
krahets
b25aadae6f
Remove the file headers from the docs.
2 years ago
krahets
88b00151b0
Remove the heading numbers
...
in all the source docs.
2 years ago
krahets
d1e1d76162
Add sorce code blocks of C to the docs.
2 years ago