curtishd
42f48405ef
Fix all the incorrect comment in kotin files ( #1176 )
...
* feat(kotlin): add kotlin code for utils file.
* Update ListNode.kt
* Update PrintUtil.kt
* fix: add the header comment for linkedlist_stack class.
* fix(kotlin): fix the kotlin file name.
* delete blank line in main function
* add comment for class head.
* delete the old file.
* fix the created time
* delete blank line beneath files.
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
curtishd
5ec5ef9af0
Add kotlin code for the utils file ( #1175 )
...
* feat(kotlin): add kotlin code for utils file.
* Update ListNode.kt
* Update PrintUtil.kt
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
curtishd
5e77a64341
Add kotlin code for the chapter of tree ( #1172 )
...
* modified array.kt.
* feat(kotlin): add kotlin code for the chapter of stack and queue.
* modified array.kt
* modified comments.
* feat(kotlin): add kotlin code for the chapter of tree.
* feat(kotlin): add kotlin code for the chapter of tree.
8 months ago
Yudong Jin
202450420d
Add the kotlin blocks to the documents ( #1170 )
8 months ago
Nan Lei
55db99ab18
Add return value for recur function of Python in space complexity ( #1169 )
...
* Add return value for recur function of Python in space complexity
* Update space_complexity.md
* Update space_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
None
739ee24751
Fix toc for the webpage of the chapter of computational complexity ( #1107 )
...
* fix the math formula in TOC
* Update space_complexity.md
* Update time_complexity.md
* Update space_complexity.md
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
curtishd
6069cb89a7
Add kotlin code for the chapter of stack and queue ( #1162 )
...
* modified array.kt.
* feat(kotlin): add kotlin code for the chapter of stack and queue.
* modified array.kt
* modified comments.
8 months ago
Yudong Jin
3d3e16fcd7
Update terminology for traditional Chinese translation ( #1165 )
...
* Add the glossary in Traditional Chinese
* Update terminology.md
* Fix the term "演算法"
* Update the traditional Chinese terms
* Fix several terms.
* Add some terms for sc2tc
* Add 文件, 二叉搜索树
8 months ago
Yudong Jin
3ea91bda99
fix: Use int instead of float for the example code of log time complexity ( #1164 )
...
* Use int instead of float for the example code of log time complexity
* Bug fixes
* Bug fixes
8 months ago
Phoenix Xie
fc8473ccfe
translation: Update chapter_computational_complexity/iteration_and_recursion.md ( #1074 )
...
* Update iteration_and_recursion.md
* Update iteration_and_recursion.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
nuomi1
7359a7cb4b
Review Swift codes ( #1150 )
...
* feat(swift): review for chapter_computational_complexity
* feat(swift): review for chapter_data_structure
* feat(swift): review for chapter_array_and_linkedlist
* feat(swift): review for chapter_stack_and_queue
* feat(swift): review for chapter_hashing
* feat(swift): review for chapter_tree
* feat(swift): add codes for heap article
* feat(swift): review for chapter_heap
* feat(swift): review for chapter_graph
* feat(swift): review for chapter_searching
* feat(swift): review for chapter_sorting
* feat(swift): review for chapter_divide_and_conquer
* feat(swift): review for chapter_backtracking
* feat(swift): review for chapter_dynamic_programming
* feat(swift): review for chapter_greedy
* feat(swift): review for utils
* feat(swift): update ci tool
* feat(swift): trailing closure
* feat(swift): array init
* feat(swift): map index
8 months ago
Nan Lei
300a781fab
Update code comment of quadratic in time_complexity ( #1155 )
8 months ago
Loong Loong
7a4a45977a
translation: Update chapter_stack_and_queue/queue.md ( #1039 )
...
* This commit mainly standardizes the terminology representing queue.
* optimization
* optimization
* optimization the translation with @https://github.com/QiLOL 's help
* fix a more "+"
* fix "used"
* Update queue.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
curtishd
1845937c5a
Add kotlin code for the chapter of sorting ( #1145 )
...
* feat(kotlin): add kotlin code for chapter sorting.
* style(kotlin): fix some indent.
* refactor(kotlin): refactor quick_sort.kt files.
* style(kotlin): modified medianThree function.
8 months ago
Yudong Jin
7f43f92ae9
Bug fixes and improvements ( #1152 )
...
* Update avl_tree.md
* Remove the empty space
* Simplify the heading of the paperbook chapter
* Update hash_map_open_addressing.go to the latest version
* Improvements
8 months ago
rongyi
6f1ec66949
Fix rust compile warning and an obvious print error in array.rs ( #1144 )
...
* Fix rust compile warning and an obvious print error in array.rs
* Update LinkedList
1. drop unnessaray mut borrow
2. fmt code and make variable more readable
* follow convention of this repo
* Update list_node.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
rongyi
7b1094318b
cargo fmt rust code ( #1131 )
...
* cargo fmt code
* Add empty line to seperate unrelated comments
* Fix review
* Update bubble_sort.rs
* Update merge_sort.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
curtishd
54ceef3443
feat(kotlin): add kotlin codes for the chapter of searching. ( #1140 )
8 months ago
sdshaoda
eb10d07728
Optimize the representation of the AVL tree ( #1106 )
...
* Optimize the representation of the AVL tree
* Update avl_tree.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
curtishd
a05192ea0f
Add kotlin code for the chapter of heap ( #1115 )
...
* feat(kotlin): add kotlin code for dynamic programming.
* Update knapsack.kt
* feat(kotlin): add kotlin codes for graph.
* style(kotlin): reformatted the codes.
* feat(kotlin): add kotlin codes for the chapter of greedy.
* Update max_product_cutting.kt
* feat(kotlin): add kotlin code for chapter of hashing.
* style(kotlin): modified some comment
* Update array_hash_map.kt
* Update hash_map_chaining.kt
* Update hash_map_chaining.kt
* feat(kotlin): add kotlin codes for the chapter of heap.
* Update my_heap.kt
8 months ago
Yudong Jin
9769e14017
Fix the median_three mehod for quick sort ( #1134 )
...
* Add the section of terminologies.
* fix format
* Fix median_three function for quick sort
* Delete docs/chapter_appendix/terminologies.md
* Update quick_sort.ts
* Update quick_sort.rs
* Update quick_sort.js
8 months ago
Prime.X
644eaf99ff
fix: code comments for insertion_sort.go ( #1132 )
...
* fix: code comments for insertion_sort.go
* Update insertion_sort.go
---------
Co-authored-by: Prime Xiao <primexiao.dev@gmail.com>
Co-authored-by: Yudong Jin <krahets@163.com>
8 months ago
Yudong Jin
01c67781fa
Bug fixes and improvements ( #1133 )
...
* Bug fixes
* Update the figure of the JD link
* Unify the code comments of insertion_sort
8 months ago
curtishd
eadf4c86d4
Add kotlin code for the chapter of hashing ( #1104 )
...
* feat(kotlin): add kotlin code for dynamic programming.
* Update knapsack.kt
* feat(kotlin): add kotlin codes for graph.
* style(kotlin): reformatted the codes.
* feat(kotlin): add kotlin codes for the chapter of greedy.
* Update max_product_cutting.kt
* feat(kotlin): add kotlin code for chapter of hashing.
* style(kotlin): modified some comment
* Update array_hash_map.kt
* Update hash_map_chaining.kt
* Update hash_map_chaining.kt
8 months ago
Spark
cf0817370b
translation: Update chapter_stack_and_queue/deque.md ( #1068 )
...
* Update deque.md
* Update deque.md
* Update deque.md
8 months ago
Yudong Jin
aca031c6c1
Add the section of introduction to the paper book ( #1114 )
...
* Use Roboto mono as the font of the footers
* Bug fixes
* Add the introduction to the paper book.
* Add the 'new' label to the toc
* Turn off the autoplay
* Polish the intro to paperbook
8 months ago
Yudong Jin
3474405863
translation: Update the figures in the chapter of complexity analysis ( #1080 )
...
* Translate the figures of the chapter of complexity analysis
* Bug fixes and size reduction
* Use Roboto Mono as the font of the footer
* Bug fixes
9 months ago
Yudong Jin
7e0e32be9c
translation: Update the figures for the chapter of data sturcture ( #1083 )
...
* Update the figures for the chapter of data sturcture
* Bug fixes and size reduction
* Reducing file size
9 months ago
Yudong Jin
c16476d97b
translation: Update the figures for the chapter of stack and queue ( #1084 )
...
* Update the figures for the chapter of stack and queue
* Bug fixes and reducing file size
9 months ago
Yudong Jin
87e5b297f8
Reduce the file size of the landing page ( #1105 )
...
* Update suggestions.md
* Add announcement of the paper book release
* Fix size of svg
* Update contrib rocks image
* Optimize HTML of the landing page
* Fix the line breaks
9 months ago
curtishd
89679a4a13
Add kotlin codes for the chapter of greedy ( #1103 )
...
* feat(kotlin): add kotlin code for dynamic programming.
* Update knapsack.kt
* feat(kotlin): add kotlin codes for graph.
* style(kotlin): reformatted the codes.
* feat(kotlin): add kotlin codes for the chapter of greedy.
* Update max_product_cutting.kt
9 months ago
Yudong Jin
a032d68c7c
translation: Update the mindmap ( #1100 )
...
* Translated the mindmap
* Bug fixes and reducing the file size
9 months ago
curtishd
6a728042fd
Add kotlin code for the chapter of graph ( #1102 )
...
* feat(kotlin): add kotlin code for dynamic programming.
* Update knapsack.kt
* feat(kotlin): add kotlin codes for graph.
* style(kotlin): reformatted the codes.
9 months ago
curtishd
5c1f43fefd
Add kotlin code for dynamic programming ( #1099 )
...
* feat(kotlin): add kotlin code for dynamic programming.
* Update knapsack.kt
9 months ago
Yudong Jin
1db04577b5
translation: Update the figures for the chapter of array and linked list ( #1082 )
...
* Update the figures for the chapter of array and linked list
* Bug fixes and file size reduction
9 months ago
Yudong Jin
39c2b0335e
translation: Update the figures in the chapter of preface and introduction ( #1079 )
...
* Translate the figures in the chapter of preface and introduction
* Update the figures
* Update the figure
* Bug fixes
9 months ago
curtishd
7cdfa03e68
Add kotlin code for the chapter of divide and conquer ( #1098 )
...
* feat(kotlin):new kotlin support files
* fix(kotlin):
reviewed the formatting, comments and so on.
* fix(kotlin): fix the indentation and format
* feat(kotlin): Add kotlin code for the backtraking chapter.
* fix(kotlin): fix incorrect output of preorder_traversal_iii_template.kt file
* fix(kotlin): simplify kotlin codes
* fix(kotlin): modify n_queens.kt for consistency.
* feat(kotlin): add kotlin code for computational complexity.
* fix(kotlin): remove iteration folder.
* fix(kotlin): remove n_queens.kt file out of folder.
* fix(kotlin): remove some folders.
* style(kotlin): modified two chapters.
* feat(kotlin): add kotlin code for divide and conquer.
* Update build_tree.kt
* Update hanota.kt
* Delete codes/kotlin/chapter_backtracking directory
* Delete codes/kotlin/chapter_computational_complexity directory
* Delete codes/kotlin/chapter_divide_and_conquer directory
* feat(kotlin): add kotlin code for divide and conquer.
* Update hanota.kt
9 months ago
curtishd
306dc019ef
Add Kotlin code for computational complexity ( #1090 )
...
* feat(kotlin):new kotlin support files
* fix(kotlin):
reviewed the formatting, comments and so on.
* fix(kotlin): fix the indentation and format
* feat(kotlin): Add kotlin code for the backtraking chapter.
* fix(kotlin): fix incorrect output of preorder_traversal_iii_template.kt file
* fix(kotlin): simplify kotlin codes
* fix(kotlin): modify n_queens.kt for consistency.
* feat(kotlin): add kotlin code for computational complexity.
* fix(kotlin): remove iteration folder.
* fix(kotlin): remove n_queens.kt file out of folder.
* fix(kotlin): remove some folders.
* style(kotlin): modified two chapters.
9 months ago
krahets
92f82cbcca
Update README
9 months ago
Arthur
962f8f91f7
fix some bugs in c codes ( #1089 )
9 months ago
Yudong Jin
799da32eb0
Bug fixes and improvements ( #1092 )
...
* Bug fixes
* Bug fixes
* Reduce figures size
* Update LeetCode problems repo in suggestions.md
* Fix the figures of pivot_division_steps
9 months ago
curtishd
507357ace1
feat(kotlin): Add kotlin code for backtracking chapter ( #1088 )
...
* feat(kotlin):new kotlin support files
* fix(kotlin):
reviewed the formatting, comments and so on.
* fix(kotlin): fix the indentation and format
* feat(kotlin): Add kotlin code for the backtraking chapter.
* fix(kotlin): fix incorrect output of preorder_traversal_iii_template.kt file
* fix(kotlin): simplify kotlin codes
* fix(kotlin): modify n_queens.kt for consistency.
9 months ago
Reanon
e9341c51b5
fix(go): record slice array result, fixed #1075 ( #1087 )
9 months ago
Yudong Jin
e813b5a0fa
Bug fixes and improvements ( #1078 )
...
* Fix the logo in the en version
* Optimize header color and fix body background color
* Update theme switch's name
* Fix backfrop-filter on Safari
* Update some animation's file name for adding egde when cropping
* Re-count the comments number
* A bug fix in n_queens_problem.md
9 months ago
SamJin98
5f82a86bd6
translation: Updated chapter_array_and_linkedlist/linked_list.md ( #1042 )
...
* translation: Updated chapter_array_and_linkedlist/linked_list.md
* Update chapter_array_and_linkedlist/linked_list.md
* Update chapter_array_and_linkedlist/linked_list.md
* Update linked_list.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
9 months ago
curtishd
4b990c10ce
feat(Kotlin): Add Kotlin code for the array and linked list chapter ( #1070 )
...
* feat(kotlin):new kotlin support files
* fix(kotlin):
reviewed the formatting, comments and so on.
* fix(kotlin): fix the indentation and format
9 months ago
K3v123
225d2ae314
Update index.md ( #1069 )
...
refined some sentences to make it sound more fluent.
9 months ago
Yudong Jin
a005c6ebd3
Some improvements ( #1073 )
...
* Update avatar's link in the landing page
* Bug fixes
* Move assets folder from overrides to docs
* Reduce figures' corner radius
* Update copyright
* Update header image
* Krahets -> krahets
* Update the landing page
9 months ago
CuB3y0nd
b77abf058a
typo: Fix typo in chapter_preface/index.md ( #1072 )
...
* typo: Fix typo in chapter_preface/index.md
* Update index.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
10 months ago
Spark
d81276a4f3
translation: Update chapter_stack_and_queue/summary.md ( #1048 )
...
* Update summary.md
* Update chapter_stack_and_queue/summary.md with review suggestions
10 months ago