Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I don't think that it's one of the best solutions: here filter is called two times, so it's likely that you iterate two time on input, which is unnecessay. This can be solve with a vanilla for loop & one if.
Great solution 👏👏
Cool to define a enum for the membership categories.
I would put a contructor in the impl for this (i32, i32) as input.
Small note: I'm prertty sure the to string method is already implemented for structs.
Plz explain
Why does q have a size of 128? Couldn't it be size n?