mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-05 20:24:19 +00:00
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.
This commit is contained in:
@@ -98,4 +98,4 @@ fun main() {
|
||||
/* 查找元素 */
|
||||
val index: Int = find(nums, 3)
|
||||
println("在 nums 中查找元素 3 ,得到索引 = $index")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user