• 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
Grecks Avatar
Name:Unknown
Clan:FORTecH Software GmbH
Member Since:Apr 2024
Last Seen:Nov 2024
Profiles:
    Following:6
    Followers:6
    Allies:6
    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 (55)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • MikChan
      • resolved a suggestion on "Calculating with Functions" kata
      • 9 months ago

      Your wish is granted

    • Custom User Avatar
      • Patrykot
      • commented on "Sum of Intervals" cpp solution
      • 12 months ago

      The std::exchange + ternary made it perfect. Nice work!

    • Custom User Avatar
      • Grecks
      • commented on "Sum by Factors" kata
      • 12 months ago

      It seems this kata actually requires finding those prime factors which is a (very) hard problem in general. I'm not sure whether non-sophisticated approaches will work here (that depends on the size of the input numbers), so I will skip this kata for now.

    • Custom User Avatar
      • Grecks
      • commented on "Sum of Intervals" cpp solution
      • 12 months ago

      Great stuff, love it! Contains some nice hidden details such as using operator< on std::pair<>, C++14 lambda captures with initializer, etc. that make the solution very dense.

      Greatest drawback, in my opinion, is that it doesn't work for empty lists of intervals where it does invoke UB (because of intervals[0]). I fixed that in a fork, and additionally improved readability a bit more by using some other modern C++ features.

    • Custom User Avatar
      • Grecks
      • commented on "The observed PIN" kata
      • 12 months ago

      This kata has been much more fun than I initially thought it would!

    • Custom User Avatar
      • Grecks
      • commented on "The observed PIN" python solution
      • 12 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "The observed PIN" python solution
      • 12 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "The observed PIN" python solution
      • 12 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "Snail" cpp solution
      • 12 months ago

      Dope!

    • Custom User Avatar
      • Grecks
      • commented on "Twice linear" cpp solution
      • 12 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "parseInt() reloaded" kata
      • 13 months ago

      Lol

    • Custom User Avatar
      • Grecks
      • commented on "Range Extraction" cpp solution
      • 13 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "Range Extraction" cpp solution
      • 13 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "First non-repeating character" python solution
      • 13 months ago

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

    • Custom User Avatar
      • Grecks
      • commented on "First non-repeating character" python solution
      • 13 months ago

      Slow but nice and simple.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...