• 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
Abbe Avatar
Name:Albin Theander
Clan:Unknown
Member Since:Mar 2014
Last Seen:May 2025
Profiles:
Following:0
Followers:99
Allies:0
View Profile Badges
Ad
8 Reasons Why Codewarriors Practice Coding with Codewars
Not everyone trains the same. Discover new ways to leverage Codewars in your education and career.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (218)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • monadius
    • resolved an issue on "Special Scores For Words" kata
    • 17 months ago

    Fixed

  • Custom User Avatar
    • oson
    • resolved an issue on "Crude Machinery and a Command Line Interface" kata
    • 2 years ago

    Marked issue as resolved

  • Custom User Avatar
    • akar-0
    • commented on ""Merged String Checker" COBOL Translation"
    • 3 years ago

    Hi. Thanks. Yes I'm absolutely sure there's no problem with it, I have only removed the declaration of an unused variable :)

  • Custom User Avatar
    • paul2
    • commented on "Esolang: Stick" kata
    • 5 years ago

    Thanks😊

  • Custom User Avatar
    • visph
    • commented on "Special Scores For Words" kata
    • 5 years ago

    4 years later, issue is still not solved ^^

  • Custom User Avatar
    • user8436785
    • resolved a suggestion on "Persistent Bugger." kata
    • 5 years ago

    Fixed.

  • Custom User Avatar
    • Unnamed
    • resolved a suggestion on "Find the odd int" kata
    • 5 years ago
  • Custom User Avatar
    • Unnamed
    • commented on "Persistent Bugger." kata
    • 5 years ago

    plunit_persistence:prod_/2: Undefined procedure: plunit_persistence:prod/2 (forall bindings = [1])

  • Custom User Avatar
    • interphx
    • resolved a suggestion on "Evaluating prefix Polish notation" kata
    • 5 years ago

    Thanks for the translation!

  • Custom User Avatar
    • genejo
    • commented on "Packing your backpack" kata
    • 6 years ago

    Same issue here. Please fix the JavaScript checker.

  • Custom User Avatar
    • Chrono79
    • commented on "Packing your backpack" kata
    • 6 years ago

    It's easy to check it's failing:

    function packBagpack(scores, weights, capacity) {
      let totalWeight = weights.reduce((p, c) => p + c, 0),
          totalScore = scores.reduce((p, c) => p + c, 0);
      console.log(`Capacity: ${capacity}, total weight: ${totalWeight}`);
      console.log(`Scores: ${scores} - Weights: ${weights}`);
      if (capacity >= totalWeight) return totalScore; 
    }
    

    A lot of tests where capacity is greater than the sum of all weights are failing.

  • Custom User Avatar
    • rettemich
    • commented on "Packing your backpack" kata
    • 6 years ago

    I have the same problem. My solution passed all sample tests but failed random tests. One of many examples:
    s: [ 17, 18, 9, 10, 20, 2 ]
    w: [ 2, 4, 1, 5, 1, 1 ]
    c: 50
    Expected: 111, instead got: 76

  • Custom User Avatar
    • cliffstamp
    • resolved an issue on "The sortReloaded() method" kata
    • 7 years ago

    JS :

    • asserts changed
    • check for new array added (killed all? solutions)
    • random tests were added (see above)
  • Custom User Avatar
    • cliffstamp
    • resolved an issue on "Gigasecond" kata
    • 7 years ago

    .

  • Custom User Avatar
    • JohanWiltink
    • commented on "Tree Depth" kata
    • 7 years ago

    Depends on what you consider the JS equivalent of a Ruby hash.

    The way it's written, an Array is not, but a Date or a RegExp is. A primitive ( boolean, string, number, null, undefined ) should not be; that's obvious.

    If you consider an Object to be an object, everything but a primitive should be, including a Boolean, String or Number ( /= boolean, string, number ).

    The best JS implementation of this idea may not be a faithful adaptation of the original ( and the best implementation including Ruby may not be to return the same object modified ).

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...