• 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
dagolinuxoid Avatar
Name:Artur Haurylkevich
Clan:DAGO
Skills:js
Member Since:Jun 2016
Last Seen:Dec 2024
Profiles:
Following:25
Followers:65
Allies:9
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (179)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • trashy_incel
    • resolved a question on "Odd-heavy Array" kata
    • 4 months ago
    • mistake 1:

      const isOdd = number => number%2;
      return isOdd(num)===false;  
      

      this will always return false. isOdd() returns a Number, not a Boolean, and === does not perform type conversion.

    • mistake 2: Array.prototype.every() (and its counterpart some()) are evaluated lazyly: they break out of the loop as soon as they find a value that fails/passes the predicate, respectively.

  • Custom User Avatar
    • trashy_incel
    • resolved a suggestion on "Cat and Mouse - Harder Version" kata
    • 17 months ago

    both fixed

  • Custom User Avatar
    • justinsane𒀭
    • commented on "Lario and Muigi Pipe Problem" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • CavemanKT
    • commented on "Zeros and Ones" javascript solution
    • 2 years ago

    I got it too

  • Custom User Avatar
    • DasBrain
    • commented on "Find last Fibonacci digit [hardcore version]" kata
    • 2 years ago

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

  • Custom User Avatar
    • ManuGC
    • commented on "Simple Encryption #1 - Alternating Split" javascript solution
    • 3 years ago

    Love your solution dagolinuxoid!

  • Custom User Avatar
    • Dev2Chartreuse
    • commented on "Largest Elements" javascript solution
    • 3 years ago

    +1 don't mutate original array

  • Custom User Avatar
    • salazarSDF
    • commented on "Simple Events" kata
    • 3 years ago

    This is so boring that i can't use object. And why is function in global scope after i use toString() in my object local scope is undefined? I guess problem is because function name _isprivateValue.

  • Custom User Avatar
    • kasir-barati
    • commented on "Valid Braces" javascript solution
    • 3 years ago

    Jesus. I doubt just anyone else can compete with you to name at this level. Please name more readily. BTW I guess your solution and mine is equivalent.

  • Custom User Avatar
    • ejini战神
    • commented on "Head, Tail, Init and Last" javascript solution
    • 3 years ago
    白居易 《赋得古原草送别》
    
    离离原上草,一岁一枯荣。
    野火烧不尽,春风吹又生。
    远芳侵古道,晴翠接荒城。
    又送王孙去,萋萋满别情。
    
  • Custom User Avatar
    • farhanaditya
    • commented on "Selective Array Reversing" kata
    • 4 years ago

    You have 2 nested loops there.

    And why does that matter? In this case, his algorithm is still O(n).

  • Custom User Avatar
    • maksymczech
    • commented on "Collision Detection" javascript solution
    • 4 years ago

    If there is equality, it's a "touch", not a "collision".

  • Custom User Avatar
    • BS1
    • commented on "Sort and Star" javascript solution
    • 4 years ago

    If I log out the input array after the method has run, I get the same as before, i.e. the input is not changed.

  • Custom User Avatar
    • ejini战神
    • commented on "One Line Task: Two Letters" kata
    • 4 years ago

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

  • Custom User Avatar
    • jgrunik
    • commented on "Count the Digit" javascript solution
    • 4 years ago

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

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...