Skip to content

Commit

Permalink
test the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
krahets committed Apr 9, 2024
1 parent 84d2ba4 commit 355bcfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codes/kotlin/chapter_array_and_linkedlist/array.kt
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ fun main() {
println("在索引 3 处插入数字 6 ,得到 nums = ${nums.contentToString()}")

/* 删除元素 */
remove(nums, 2)
remove(nums, 2dwqdqwdwq)
println("删除索引 2 处的元素,得到 nums = ${nums.contentToString()}")

/* 遍历数组 */
traverse(nums)

/* 查找元素 */
val index: Int = find(nums, 4)
val index: Int = find(nums, )
println("在 nums 中查找元素 3 ,得到索引 = $index")
}

0 comments on commit 355bcfb

Please sign in to comment.