• 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
lucasThompson Avatar
Name:Lucas Thompson
Clan:Unknown
Member Since:Jul 2020
Last Seen:Jan 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (10)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • xXOPPAIXx
    • commented on "Rock Paper Scissors!" cpp solution
    • 4 months ago

    LMFAAAOOO

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "A Needle in the Haystack" kata
    • 13 months ago

    added a test to invalidate those solutions

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Calculate average " kata
    • 4 years ago
  • Custom User Avatar
    • lucasThompson
    • commented on "Find numbers which are divisible by given number" csharp solution
    • 5 years ago

    something goofy happened(between first and last curly braces :P) when I split string str at the spaces. It seems like it added an empty value at the end of the string array x which forced me to add ""- 1" to both instances of x.Length that followed. If anyone could shed some light on why this happened or how to avoid it in the future, it would be greatly appreciated.

  • Custom User Avatar
    • Chrono79
    • commented on "Rock Paper Scissors!" cpp solution
    • 5 years ago

    Then try this other kata: https://www.codewars.com/kata/569651a2d6a620b72e000059, but you can only do it (right now) in C# or Ruby.

  • Custom User Avatar
    • lucasThompson
    • commented on "Rock Paper Scissors!" cpp solution
    • 5 years ago

    ...just in case this kata is updated to include "lizard" and "spock"...

  • Custom User Avatar
    • lucasThompson
    • created a suggestion for "Calculate average " kata
    • 5 years ago

    Instructions should state that empty arrays should return '0'.

  • Custom User Avatar
    • hobovsky
    • commented on "A Needle in the Haystack" kata
    • 5 years ago

    Yup I also think it would be nice if this kata failed for solutions which rely on behavior of object.operator==.

    Understanding where the warning comes from is a nice way to learn why in C# searching for a string by comparison with operator== works if haystack is string[], but does not work if haystack is object[], but still works if needle is a string literal.

  • Custom User Avatar
    • lucasThompson
    • created an issue for "A Needle in the Haystack" kata
    • 5 years ago

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

  • Custom User Avatar
    • lucasThompson
    • commented on "Fake Binary" csharp solution
    • 5 years ago

    "And the award for longest and most convoluded solution goes to..."
    Seriously though, after looking at some of the other answers, I am kind of embarrassed.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...