Practice ยท 1 of 1
A Hand-Written Stride View
Implement strideView(vec, k) returning a type with begin()/end() that walks every k-th element (k >= 1). Iterate the returned view in the usual range-for.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: Build a View