Commit graph

5 commits

Author SHA1 Message Date
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
a3ee733e7b
fix(Kotlin): Remove empty lines (#1264) 2024-04-10 21:19:19 +08:00
curtishd
1623e3c6a8
feat(Kotlin): Replace value with _val (#1254)
* ci(kotlin): Add workflow file.

* Update kotlin.yml

* style(kotlin): value -> _val

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-04-10 18:09:43 +08:00
curtishd
5725b8a0f1
Improve readability of kotlin code (#1233)
* style(kotlin): Improve kotlin codes readability.

* remove redundant quotes.
2024-04-07 18:56:59 +08:00
curtishd
5c1f43fefd
Add kotlin code for dynamic programming (#1099)
* feat(kotlin): add kotlin code for dynamic programming.

* Update knapsack.kt
2024-03-03 15:14:26 +08:00