• 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
MacStan Avatar
Name:Unknown
Clan:Gdansk University of Technology
Member Since:May 2017
Last Seen:Feb 2025
Profiles:
    Following:32
    Followers:32
    Allies:31
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies
    • Authored (22)
    • Needs Resolution
    • Custom User Avatar
      • MacStan
      • resolved an issue on "First Normal Form" kata
      • 10 months ago

      Thanks! Updated the description.

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Extract bits from integer" kata
      • 2 years ago

      Thanks, fixed.

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Extract bits from integer" kata
      • 2 years ago

      It can be easily done without exceeding BigInt size. I don't think randomising the length increases the complexity in any way - it's still just one check.
      I have added an explicit max length of input data(64 bits) to simplify things. Sadly, I don't see any way to easily get the max value of BigInt so this will have to do.

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Extract bits from integer" kata
      • 2 years ago

      Thanks for the comment, I've updated the tests.
      I've left full length and partial length as they were. 'partial length' means some bits may be trimmed from most significant bit's side, 'full length' means no bits trimmed.

    • Custom User Avatar
      • MacStan
      • commented on "Organize a Round-robin tournament" kata
      • 2 years ago

      Helper method makes debugging much nicer. Great kata!

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Round Robin Job Scheduler" kata
      • 2 years ago

      Thanks, I've updated the description.

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Round Robin Job Scheduler" kata
      • 2 years ago

      Forgot to mark issue as resolved.

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Round Robin Job Scheduler" kata
      • 2 years ago

      Forgot to mark issue as resolved.

    • Custom User Avatar
      • MacStan
      • commented on "Round Robin Job Scheduler" kata
      • 2 years ago

      Good point, I've added explicit instruction in the description - new task should be added before the one that has just finished.
      I've also added new test case for this.

    • Custom User Avatar
      • MacStan
      • commented on "Round Robin Job Scheduler" kata
      • 2 years ago

      Thanks for pointing this out. I've done some renaming before publishing and forgotten to update the description. Description should be ok now.
      There is only one Timeslot used both by solution and test cases, it's in preloaded classes.
      I've ommited namespaces as they are not neccessary and only take space in this case. Is there any advantage they provide?

    • Custom User Avatar
      • MacStan
      • resolved a suggestion on "Extract bits from integer" kata
      • 2 years ago

      Added more test cases and improved error message. Thanks for feedback.

    • Custom User Avatar
      • MacStan
      • resolved an issue on "Extract bits from integer" kata
      • 2 years ago

      I've fixed examples, thanks for pointing this out.

    • Custom User Avatar
      • MacStan
      • commented on "Extract bits from integer" kata
      • 2 years ago

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

    • Custom User Avatar
      • MacStan
      • resolved a suggestion on "Extract bits from integer" kata
      • 2 years ago

      Fixed, thanks

    • Custom User Avatar
      • MacStan
      • commented on "First Normal Form" kata
      • 3 years ago

      Thanks for the feedback! :)

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...