• 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
perfidiousscript Avatar
Name:Unknown
Clan:Unknown
Member Since:Aug 2015
Last Seen:Apr 2016
Profiles:
Following:3
Followers:4
Allies:3
View Profile Badges
Ad
How many Kata did you complete in 2024?
Discover our top moments in 2024 and how you can level up in 2025.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (9)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • fardemirbas
    • commented on "Is my friend cheating?" kata
    • 9 years ago

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

  • Custom User Avatar
    • hilary
    • commented on "Is my friend cheating?" kata
    • 10 years ago

    There's no special math you need to learn. You have a system of equations (sum and product) that you can manipulate to reduce the Big(O) of your algorithm. Not sure if that helps (without giving the answer away).

  • Custom User Avatar
    • khanhnguyenqk
    • commented on "Is my friend cheating?" kata
    • 10 years ago

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

  • Custom User Avatar
    • user1621217
    • commented on "Is my friend cheating?" kata
    • 10 years ago

    The math and algebra behind the solution (at least the most popular and efficient solutions) are not so complicated.

  • Custom User Avatar
    • g964
    • commented on "Is my friend cheating?" kata
    • 10 years ago

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

  • Custom User Avatar
    • DivyanshBatham
    • commented on "Complete The Pattern #12" kata
    • 10 years ago

    On the side note always format your code using Markdown. An extract from Markdown link -

    The Codewars comment system allows for Markdown that follows GitHub Flavored Markdown, you can read about all the bells and whistles through the link.

  • Custom User Avatar
    • DivyanshBatham
    • commented on "Complete The Pattern #12" kata
    • 10 years ago

    Try using row = row.concat("\\n"); Instead of row = row.concat("\n");. Then check your output with the text fixture code manually.

  • Custom User Avatar
    • ZozoFouchtra
    • commented on "Building blocks" kata
    • 10 years ago

    First test creates 2 blocks and asks for values of 1st one. Your error message Expected: 3, instead got: 1 indicates the 2d block you created crashed data of 1st one. (3 is value of 1st Block width, 1 is value of 2d Block width)

    So it seems the problem is with your code.
    Good luck!

  • Custom User Avatar
    • ZozoFouchtra
    • commented on "Building blocks" kata
    • 10 years ago

    which language ?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...