Loading your session…
A small idea, worth understanding
Stay inside an array
Use zero-based indexing and .len.
A Zig array has a fixed length. Its elements are addressed from index 0 to len - 1.
An out-of-bounds access is illegal; do not rely on reading past the end.
Two activities. No typing needed. You can always retry, or read an explanation and continue.