mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 05:48:58 +08:00
add zig codes for Section 'Array', 'LinkedList' and 'List'
This commit is contained in:
@ -137,7 +137,7 @@ pub fn main() !void {
|
|||||||
|
|
||||||
// 查找元素
|
// 查找元素
|
||||||
var index = find(nums, 3);
|
var index = find(nums, 3);
|
||||||
std.debug.print("\n在 nums_ext 中查找元素 3 ,得到索引 = {}\n", .{index});
|
std.debug.print("\n在 nums 中查找元素 3 ,得到索引 = {}\n", .{index});
|
||||||
|
|
||||||
const getchar = try std.io.getStdIn().reader().readByte();
|
const getchar = try std.io.getStdIn().reader().readByte();
|
||||||
_ = getchar;
|
_ = getchar;
|
||||||
|
Reference in New Issue
Block a user