Writing a custom iterator in Zig for a generic Slice type, with a next() method that returns an optional so you can loop over it with while.
How to handle errors in Zig using try and catch, and the different ways to use catch with switch, panic, unreachable and C-style return codes.
When you’d want a toOwned() method in Zig and how I wrote one to copy data out of a managed buffer and into heap memory you own.
Implementing a sliding window algorithm in Zig, a fixed width view that moves along an array and can cut down the time complexity of a problem.
How I built a generic stack in Zig using comptime, with push and pop, and how it grows the buffer with an allocator and @memcpy when it fills up.