Insert space for additional async exercises

This commit is contained in:
Chris Boesch
2026-04-03 13:35:56 +02:00
parent ffde357f30
commit e0259f43a7
47 changed files with 156 additions and 106 deletions
@@ -0,0 +1,11 @@
--- exercises/099_memory_allocation.zig 2025-08-15 15:17:57.839348063 +0200
+++ answers/099_memory_allocation.zig 2026-04-03 13:09:47.403580391 +0200
@@ -64,7 +64,7 @@
const allocator = arena.allocator();
// allocate memory for this array
- const avg: []f64 = ???;
+ const avg: []f64 = try allocator.alloc(f64, arr.len);
runningAverage(arr, avg);
std.debug.print("Running Average: ", .{});