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.
2024-04-13 20:09:39 +08:00
curtishd
2655a2f66a
Simplify kotlin code and improve code readability ( #1198 )
...
* Add kotlin code block for chapter_hashing
* Add kotlin code block for chapter_heap.
* Add kotlin code block for chapter_stack_and_queue and chapter_tree
* fix indentation
* Update binary_tree.md
* style(kotlin): simplify code and improve readability.
* simplify kt code for chapter_computational_complexity.
* style(kotlin): replace ArrayList with MutableList.
* Update subset_sum_i.kt
Use kotlin api instead of java.
* Update subset_sum_ii.kt
use kotlin api instead of java
* style(kotlin): replace ArrayList with mutablelist.
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-07 01:31:58 +08:00
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
2024-03-23 02:17:48 +08:00
Nan Lei
300a781fab
Update code comment of quadratic in time_complexity ( #1155 )
2024-03-19 02:28:16 +08:00
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.
2024-02-27 17:04:57 +08:00