• 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
Adrian1707 Avatar
Name:Adrian Booth
Clan:Makers Academy
Member Since:Aug 2015
Last Seen:Jun 2025
Profiles:
Following:563
Followers:558
Allies:556
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (22)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • S_putnik_85
    • commented on "Sums of Parts" kata
    • 3 years ago

    you helped me. Thanks

  • Custom User Avatar
    • Monaco84
    • commented on "Sums of Parts" kata
    • 3 years ago

    And I like how I was stuck this whole time until I read your comment. My code kept getting timed out because of these summations.
    Thanks mate !

  • Custom User Avatar
    • Technetium_Phenol
    • commented on "Alphabetical Addition" kata
    • 6 years ago

    I agree, some of the Kata's are really easy in some languages and rediculously hard in other langauages.
    It is a shame that kata ranks can be language dependent.

  • Custom User Avatar
    • MrZizoScream
    • commented on "Expressions Matter " kata
    • 6 years ago

    @Adrian1707 Well, Thanks Adrian for posting

    Why do my test cases pass on an individual basis but fail as a group?

    • I think you've come up with a solution that is fitting the Sample test cases But not the Random Ones , So you might have omitted Calculating an Expression that leads to a greater value :wink:
    • also For more Help, you can post your code here under Spoiler Flag so not to reveal any pieces of information, this will allow SQL Coders to catch a bug or so , Tuned to hear from you .. regards .. Zizou
  • Custom User Avatar
    • BruiserMcCruiser
    • commented on "Expressions Matter " kata
    • 6 years ago

    Check the scope of all your variables. Behaviour like this usually indicates some value is persisting between method calls.

  • Custom User Avatar
    • user8436785
    • commented on "Alphabetical Addition" kata
    • 6 years ago

    I know that it is a bit harder in SQL, but the rank is for the kata itself, not for a specific language. Also, I don't choose the rank FYI (it's the moderator - in this case adrian.eyre).

  • Custom User Avatar
    • cliffstamp
    • commented on "Switcheroo" kata
    • 7 years ago

    It seemed fine to me with a simple swap.

  • Custom User Avatar
    • donaldsebleung
    • commented on "Are the numbers in order?" kata
    • 7 years ago

    Make sure you aren't mutating the input array.

  • Custom User Avatar
    • kazk
    • commented on "If you can read this..." kata
    • 8 years ago

    Fixed

  • Custom User Avatar
    • narayanswa30663
    • resolved an issue on "Are they square 2?" kata
    • 9 years ago

    Is this really an issue? I'd suggest that you take a look at this. It provides a couple flatten functions for you.

  • Custom User Avatar
    • JohanWiltink
    • commented on "Are they square 2?" kata
    • 9 years ago

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

  • Custom User Avatar
    • TehOrange
    • commented on "Lorraine Wants to Win the TV Contest" kata
    • 9 years ago

    I assume you're using bruteforce/permutations approach, it was my first idea too. But actual solution turned out to be suprisingly (to me, at least) less complicated.

  • Custom User Avatar
    • donaldsebleung
    • commented on "Odd/Even number of divisors" kata
    • 9 years ago

    Same here. I think this Kata expects an efficient solution which would probably require a mathematical trick or two.

  • Custom User Avatar
    • bkaes
    • commented on "Next Featured Number Higher than a Given Value" kata
    • 10 years ago

    Use (GitHub flavored) markdown:

    ``` ruby
    def next_numb(num)
       ... more code ...
    end
    ```
    

    That being said, try your function on 9999999999 on your machine.

  • Custom User Avatar
    • bkaes
    • commented on "Next Featured Number Higher than a Given Value" kata
    • 10 years ago

    Which language, which code? Add your code with spoilers. If it's python, do you use Python3 on your machine? Codewars uses Python2. Keep in mind that Python2's range() will actually create the whole list, whereas xrange act (mostly) the same as Python3's range.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...