krahets
da5ef293d9
fix a typo
2023-10-11 17:39:56 +08:00
krahets
fb552987f5
Update variable names in list and my_list
2023-10-09 18:20:42 +08:00
krahets
c310edb672
Polish the chapter of array and linkedlist
2023-08-17 05:13:19 +08:00
Justin Tse
5d7e0a59b1
Add JavaScript and TypeScript code of top_k and update some code style ( #686 )
...
* Update JS and TS code style
* Add JavaScript and TypeScript code of top_k
* Update top_k.ts
* Apply suggestions from code review
Co-authored-by: Justin Tse <xiefahit@gmail.com>
* Apply suggestions from code review
Co-authored-by: Justin Tse <xiefahit@gmail.com>
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-08-17 05:00:35 +08:00
William Yuan
70784a1ec3
feat(chapter_backtracking): Add js and ts codes for chapter 13.3 ( #667 )
...
* feat(chapter_dynamic_programming): Add js and ts codes for chapter 14.1
* style(chapter_dynamic_programming): format code
* refactor(chapter_dynamic_programming): remove main definition and add type
* feat(chapter_backtracking): Add js and ts codes for chapter 13.3
* feat(chapter_divide_and_conquer): Add js and ts codes for chapter 12.2
* feat(chapter_divide_and_conquer): Add js and ts codes for chapter 12.3
* feat(chapter_divide_and_conquer): Add js and ts codes for chapter 12.4
* style(chapter_divide_and_conquer): fix typo
* refactor: Use === instead of == in js and ts
2023-08-03 14:44:49 +08:00
krahets
6377e3316a
Fix a comment in my_list.xx
2023-06-03 22:18:28 +08:00
krahets
c4ea4e39f3
Fomrat the JS and TS codes with prettier.
2023-04-17 21:58:11 +08:00
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
Justin Tse
e4a98bc9c5
Update JavaScript and TypeScript codes for all chapters, rename JavaScript and TypeScript import folder to modules ( #402 )
...
* Update JavaScript and TypeScript codes
* Rename JavaScript and TypeScript import folder to modules
2023-03-03 01:34:53 +08:00
krahets
9ea24e8b26
Change the operations sequence of the likedlist's insert() method.
2023-02-27 20:25:43 +08:00
krahets
300016393b
Add code source blocks to the chapter Graph.
...
Fix "函数" and "方法"
2023-02-10 01:04:26 +08:00
krahets
05f0054005
Add build script for JS and TS codes.
2023-02-08 19:45:06 +08:00
Justin Tse
6ad8a66a7c
Update the coding style for JavaScript ( #329 )
...
* Fix bug before commit 5eae708
* Update queue.md
* Update the coding style for JavaScript
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-05 15:40:30 +08:00
Yudong Jin
ddd5562b60
Fix the index out of bound check in my_list.
2023-01-30 17:50:07 +08:00
Yudong Jin
0e49f0053a
Update the format of the file headers
...
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +08:00
Yudong Jin
a8fb1a4f41
Update source codes.
2022-12-20 13:20:20 +08:00
Yudong Jin
8b2b75112c
Update array.js
2022-12-13 00:10:29 +08:00
Yudong Jin
e038eb4f24
Merge branch 'dev' of github.com:justin-tse/hello-algo into justin-tse-dev
2022-12-13 00:06:18 +08:00
justin
3f39a8c3cc
Update JavaScript style (Chapter of Array and Linkedlist)
2022-12-12 21:33:30 +08:00
justin
f6939dab89
Add the remain JavaScript code (Chapter of Array and Linkedlist)
2022-12-12 21:13:49 +08:00
justin
80ef96da69
Update JavaScript style (Chapter of Array)
2022-12-12 21:13:12 +08:00
IsChristina
885be1e46c
add remaining code for Array and LinkedList
2022-12-12 21:05:36 +08:00
Yudong Jin
ebf9024136
Add Go codes to docs, including
...
the chapter of stack and queue, the chapter of tree.
2022-12-03 20:25:24 +08:00
Yudong Jin
90ec9ed1fd
Fine-tuning for consistency.
2022-11-27 20:05:28 +08:00
IsChristina
4cf4ab0fc7
add javascript codes for Array
2022-11-27 19:52:48 +08:00
IsChristina
d62d8a4916
add javascript array
2022-11-27 18:33:53 +08:00