• 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
code_MP Avatar
Name:Michael
Clan:Edeka
Member Since:Oct 2016
Last Seen:Jul 2017
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    Would You Pass the Google SQL Interview? Test Yourself with These 7 Concepts
    Study up for your next SQL interview with these interview questions.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (21)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • dance2die
      • commented on "The A - B Problem" csharp solution
      • 8 years ago

      This is the most clever answer I've ever seen...

    • Custom User Avatar
      • vadimtukaev
      • commented on "Average Scores" kata
      • 9 years ago

      Yes, my first attempt relied on Math.Round(x, MidpointRounding.AwayFromZero), that is absolutely correct mathematically. I am always upset when I have to adjust the right solution to the wrong tests.

    • Custom User Avatar
      • MalangeLevi
      • commented on "Average Scores" kata
      • 9 years ago

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

    • Custom User Avatar
      • code_MP
      • commented on "Perimeter of squares in a rectangle" csharp solution
      • 9 years ago

      This solution returns 8 if n=0, which is wrong. n=0 isn't forbidden in the description, maybe the testcases should be updated.

    • Custom User Avatar
      • code_MP
      • commented on "The A - B Problem" kata
      • 9 years ago

      whoa, that's brutal...
      Apparently the Kata editor only validates the full tests - the example tests aren't validated/executed at all. That's why I missed that problem.
      Moved the function to preloaded - should be working now with full tests and example tests.
      Thank you guys, I learned something today ;)

    • Custom User Avatar
      • myjinxin2015
      • commented on "The A - B Problem" kata
      • 9 years ago

      In c#, example tests still no doTest ;-)
      Put it to preload block?

    • Custom User Avatar
      • code_MP
      • commented on "Average Scores" kata
      • 9 years ago

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

    • Custom User Avatar
      • code_MP
      • commented on "Average Scores" csharp solution
      • 9 years ago

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

    • Custom User Avatar
      • code_MP
      • commented on "The A - B Problem" kata
      • 9 years ago

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

    • Custom User Avatar
      • user5036852
      • commented on "The A - B Problem" kata
      • 9 years ago

      The example tests in C# are full of problems. There is no method "doTest" and in the example tests the method problem is expeceted to have a capital P.
      The real tests work without any problem.

    • Custom User Avatar
      • user4912975
      • commented on "The A - B Problem" kata
      • 9 years ago

      Approved

    • Custom User Avatar
      • code_MP
      • commented on "National Bath Safety Month" kata
      • 9 years ago

      You're right - anybody can rename these. I just meant it'd be nicer if the prepared names are 'meaningful'. It's good practice - and authors should lead by example, especially in a fundamental (beginner level) kata ;)

    • Custom User Avatar
      • code_MP
      • commented on "The A - B Problem" kata
      • 9 years ago

      There is no 'correct' return value - there are many. To be more precise:

      (9 * NoOfDigitsInResult) - 1

      many. (-1 because the leftmost digit mustn't be 0)

    • Custom User Avatar
      • code_MP
      • commented on "The A - B Problem" kata
      • 9 years ago

      Translated to C#.

    • Custom User Avatar
      • PG1
      • resolved a suggestion on "National Bath Safety Month" kata
      • 9 years ago

      Agreed, but you are free to use whatever variable names you want - just edit the initial solution :D

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...