• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
jsblt Avatar
Name:Unknown
Clan:Unknown
Member Since:Jun 2021
Last Seen:Sep 2022
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (8)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • hobovsky
    • commented on "Upside down numbers" kata
    • 4 years ago

    Some potentially helpful reading: https://docs.codewars.com/training/troubleshooting#maxbuffer

  • Custom User Avatar
    • Opabinia
    • commented on "Upside down numbers" kata
    • 4 years ago

    haha 😆. Which language did you do?

  • Custom User Avatar
    • Opabinia
    • commented on "Upside down numbers" kata
    • 4 years ago

    I had a hunch that this kata could be solved very quickly and elegantly in Prolog, so for that reason I've authored a Prolog translation!

    This is my first time translating (and actually publishing) a CodeWars challenge, so please be kind with my efforts. I think SWI-Prolog runs a touch slower in this case than, for example, Haskell, so I've kept the number of random trials quite low. Let me know if I've done well.

    (To be safe, I think I'll just double-check everything I've done after making a quick cup of tea 😃)

  • Custom User Avatar
    • Opabinia
    • commented on "Upside down numbers" kata
    • 4 years ago

    It's a really good one for a speed challenge. You can see some of the users above struggling to get their code working fast enough even for this one!

  • Custom User Avatar
    • jsblt
    • commented on "Upside down numbers" kata
    • 4 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • jsblt
    • commented on "Back and forth then Reverse!" kata
    • 4 years ago

    why can't we mutate the input? I tested the code outside of codewars and it worked fine, but I get errors for all the results based on the tests.

  • Custom User Avatar
    • jsblt
    • commented on "Buddy Pairs" python solution
    • 4 years ago

    based

  • Custom User Avatar
    • jsblt
    • commented on "Moving Zeros To The End" python solution
    • 4 years ago

    I don't really understand the need for the isinstance(i, bool) thing. Is it accounting for some contingency I'm not thinking of?

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...