• 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
webhsir Avatar
Name:hsir
Clan:Unknown
Member Since:Feb 2022
Last Seen:Feb 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (17)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • webhsir
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 17 months ago

    i know, because has number 10, min number is 48

  • Custom User Avatar
    • webhsir
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 17 months ago

    help

  • Custom User Avatar
    • webhsir
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 17 months ago

    who can tell me
    find_min_num(10) = 48 # divisors are: 1, 2, 3, 4, 6, 8, 12, 16, 24 and 48

    10 => divisors are: 1, 2, 3, 4, 6, 8, 12, 16, 24 and 48
    this means?

  • Custom User Avatar
    • webhsir
    • commented on "Find the First Number in Having a Certain Number of Divisors I" kata
    • 17 months ago

    why 10 divisors are: 1, 2, 3, 4, 6, 8, 12, 16, 24 and 48

  • Custom User Avatar
    • webhsir
    • commented on "Give me a Diamond" javascript solution
    • 17 months ago

    /**
    *

    • 1 => 1
    • 3 => 1 3 1
    • 5 => 1 3 5 3 1
    • 7 => 1 3 5 7 5 3 1

    */

    /**
    *

    • 1 => 1-0
    • 3 => 3-2 3-0 3-2
    • 5 => 5-4 5-2 5-0 5-2 5-4
    • 7 => 7-6 7-4 7-2 7-0 7-2 7-4 7-6
      */

    /**

    • 1 => 0
    • 3 => 2 0 2
    • 5 => 4 2 0 2 4
    • 7 => 6 4 2 0 2 4 6
    • n => n - (0 * 2 + 1) n - (1 * 2 + 1) n - (2 * 2 + 1) n - (3 * 2 + 1)
      */
  • Custom User Avatar
    • webhsir
    • commented on "Matrix Transpose" kata
    • 17 months ago

    expected [ [ 1, 2, 3 ] ] to deeply equal [ [ 1 ], [ 2 ], [ 3 ] ]

  • Custom User Avatar
    • webhsir
    • commented on "Replace With Alphabet Position" kata
    • 17 months ago

    OK thanks

  • Custom User Avatar
    • Chrono79
    • commented on "Replace With Alphabet Position" kata
    • 17 months ago

    Backup your code, click Reset, paste it and try again. Maybe you messed up the sample tests, they should look like this:

    const Test = require('@codewars/test-compat');
    
    describe("Tests", () => {
      it("test", () => {
    Test.assertEquals(alphabetPosition("The sunset sets at twelve o' clock."), "20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11");
    Test.assertEquals(alphabetPosition("The narwhal bacons at midnight."), "20 8 5 14 1 18 23 8 1 12 2 1 3 15 14 19 1 20 13 9 4 14 9 7 8 20");
      });
    });
    
  • Custom User Avatar
    • webhsir
    • commented on "Replace With Alphabet Position" kata
    • 17 months ago

    ReferenceError: Test is not defined
    at Context. (test.js:25:10)
    at process.processImmediate (node:internal/timers:471:21)

  • Custom User Avatar
    • webhsir
    • commented on "Highest Scoring Word" kata
    • 17 months ago

    OK, i am sorry about that

  • Custom User Avatar
    • jpssj
    • commented on "Highest Scoring Word" kata
    • 17 months ago

    Your post was visible from the homepage, please don't post solution in the discourse page.

  • Custom User Avatar
    • webhsir
    • commented on "Highest Scoring Word" kata
    • 17 months ago

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

  • Custom User Avatar
    • webhsir
    • commented on "Counting Duplicates" kata
    • 4 years ago

    why my comment has been hidden , i am not good at using this tool

  • Custom User Avatar
    • sid114
    • commented on "Counting Duplicates" kata
    • 4 years ago

    :)

  • Custom User Avatar
    • sid114
    • commented on "Beginner Series #3 Sum of Numbers" kata
    • 4 years ago

    :)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...