mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08: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