• 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
andriusch Avatar
Name:Andrius Chamentauskas
Clan:Unknown
Member Since:Sep 2013
Last Seen:Nov 2020
Profiles:
Following:0
Followers:3
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (12)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • cjilbert504
    • commented on "Sort Numbers" ruby solution
    • 5 years ago

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

  • Custom User Avatar
    • bestwebua
    • commented on "Ruby Enumerator Methods - Part 1" ruby solution
    • 8 years ago

    Hell yeah, solution like this is wrong:

    def check_ages?(data, sex, age_is_greater_than)
      data.all? { |i| i[:sex] == sex || i[:age] > age_is_greater_than }
    end
    

    check_ages?([{:age=>40, :sex=>:m}, {:age=>19, :sex=>:m}], :m, 20) will return true instead false

  • Custom User Avatar
    • newrdev
    • commented on "Function Composition" ruby solution
    • 10 years ago

    TIL f.(...) == f.call(...)

  • Custom User Avatar
    • honnza
    • commented on "Function Composition" ruby solution
    • 10 years ago

    TIL f.(...) is an option. I always use f[...]

  • Custom User Avatar
    • andrewdotnich
    • commented on "Sort Numbers" ruby solution
    • 11 years ago

    Ha, didn't know about this. Great solution!

  • Custom User Avatar
    • alkimo
    • commented on "Ruby Enumerator Methods - Part 1" ruby solution
    • 11 years ago

    That's why I got it wrong, it needs ALL matched sex to have a superior number!

  • Custom User Avatar
    • zak
    • commented on "Convert string to camel case" ruby solution
    • 11 years ago

    Incorrectly converts THE-STEALTH-WARRIOR into THESTEALTHWARRIOR instead of into TheStealthWarrior

  • Custom User Avatar
    • lolmaus
    • commented on "Ruby Enumerator Methods - Part 1" ruby solution
    • 11 years ago

    The task says returns true if all of the items matching the sex value have ages greater than the value provided.

    I think the solution in question passes this.

  • Custom User Avatar
    • charger
    • commented on "Ruby Enumerator Methods - Part 1" ruby solution
    • 11 years ago

    What if all data contain only sex: 'f' and method run with sex: 'm', I think it be wrong.

  • Custom User Avatar
    • emadelsaid
    • commented on "Sort Numbers" ruby solution
    • 12 years ago

    this is neat :)

  • Custom User Avatar
    • haerde
    • commented on "Sort Numbers" ruby solution
    • 12 years ago

    Great solution!

  • Custom User Avatar
    • andriusch
    • commented on "Square Matrix Multiplication" kata
    • 12 years ago

    Seems matrixMultiplication is still used in default examples that are used when clicking "test" button

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...