Ad
  • Default User Avatar

    it's fantastic. Thank you!

  • Custom User Avatar

    Expected and actual values are inverted in the tests, you're returning str when n is 0 with your code.

  • Custom User Avatar

    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().

  • Custom User Avatar

    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().

  • Custom User Avatar

    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 get true from it, then the problem is with your code. So i suggest you check your code. :)