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.
...sorry, I missed that!
A quicker way to divide by 2 is to right-shift ;) (see >> operator)
what about negative parameters?
Best practices suggest that you do not reuse the parameter p0 internally. You should expect that parameter to have the same value all the time. You should instead define a local variable. Some static analysis tools (see SonarQube) complain about that.