Improve readability of Kotlin code (#1236)

* style(kotlin): Improve kotlin codes readability.

* remove redundant quotes.

* style(kotlin): improve codes readability.
This commit is contained in:
curtishd
2024-04-08 16:09:34 +08:00
committed by GitHub
parent ba1df4a3e8
commit 3fe8f67ba9
12 changed files with 46 additions and 51 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import utils.printHashMap
/* Driver Code */
fun main() {
/* 初始化哈希表 */
val map: MutableMap<Int, String> = HashMap()
val map = HashMap<Int, String>()
/* 添加操作 */
// 在哈希表中添加键值对 (key, value)