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.
As a beginner-level kata plus the title having the switch keyword, the intro to
switch-case
usage is perfectly valid here. Though the usage of a lookup table or dictionary would be the ideal way of solving, users can refer to solution panel to view other solutions. OTOH, there exists other 8kyu katas which introduce techniques mentioned above, including what you've mentioned.