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.
Hi, just to let you know that this solution is not quite exact, it is failing for cases like:
"5*196?1=98??5" => 0 is working here, this code returns -1 due to the first if statement.
"?86422-?83181=3241" => 0 is not working here, but it's the returned return by this code, because it does not satisfy the following rule: 'No number will begin with a 0 unless the number itself is 0'.