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.
it's fantastic. Thank you!
Expected and actual values are inverted in the tests, you're returning str when n is 0 with your code.
If you look at the top of the kata, you will see that it says, "Postgresql 9.6" or something similar. That tells you the specific version of SQL being used for this kata. Search online for the appropriate function to use for postgresql. It's similar to hex().
If you look at the top of the kata, you will see that it says, "Postgresql 9.6" or something similar. That tells you the specific version of SQL being used for this kata. Search online for the appropriate function to use for postgresql. It's similar to hex().
There is only one such test case in the fixed tests and its set to
false
which is expected. It might appear in random tests sometimes and if you gettrue
from it, then the problem is with your code. So i suggest you check your code. :)