• 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
JackUnicorn Avatar
Name:Evgeniy Pyatkov
Clan:Unknown
Member Since:Nov 2019
Last Seen:Jan 2024
Profiles:
Following:3
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (36)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Serg_Sh
    • commented on "Playing with digits" kata
    • 8 months ago

    Thanks a lot!

  • Custom User Avatar
    • Orasz
    • commented on "Playing with digits" kata
    • 10 months ago

    you saved my day

  • Custom User Avatar
    • JackUnicorn
    • commented on "Find Maximum and Minimum Values of a List" javascript solution
    • 17 months ago

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

  • Custom User Avatar
    • Babeni Nelson
    • commented on "Find Maximum and Minimum Values of a List" javascript solution
    • 17 months ago

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

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Cat and Mouse - 2D Version" kata
    • 17 months ago

    The cat can move the given number of moves up, down, left or right, but not diagonally.

    It's even written in bold, please read the description before raising issues ...

  • Custom User Avatar
    • JackUnicorn
    • created an issue for "Cat and Mouse - 2D Version" kata
    • 17 months ago

    I think there's a problem with random tests. Some of them have wrong output.

    For example this one:

    moves: 9
    ........C.  
    ..........  
    ..........  
    ..........  
    ..........  
    ...m......
    

    A test says that we cannot catch mouse within 9 moves. But it's not true. If we move horizontally we are able to catch mouse in 5 moves.

    Here's how to do that:

    // ........C. => 9
    // ..........
    // ..........
    // ..........
    // ..........
    // ...m...... => 4
    
    // ..........
    // .......C.. => 8
    // ..........
    // ..........
    // ..........
    // ...m...... => 4
    
    // ..........
    // ..........
    // ......C... => 7
    // ..........
    // ..........
    // ...m...... => 4
    
    // ..........
    // ..........
    // ..........
    // .....C.... => 6
    // ..........
    // ...m...... => 4
    
    // ..........
    // ..........
    // ..........
    // ..........
    // ....C..... => 5
    // ...m...... => 4
    
    // ..........
    // ..........
    // ..........
    // ..........
    // ..........
    // ...C...... => 4 = 4 => Caught!
    

    For each move we take 9 steps and have to make 5 moves in total to reach the mouse.

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

    .repeat also depends on n so time complexity is O(nlogn)

  • Custom User Avatar
    • JackUnicorn
    • commented on "Adding Big Numbers" javascript solution
    • 17 months ago

    I wouldn't recommend using bitwise operators in production code they are really hard to understand and debug. I had hard time debugging production code that utilized bitwise operators.

  • Custom User Avatar
    • JackUnicorn
    • commented on "Multiplication table" javascript solution
    • 17 months ago

    There's a way to make it one line tho :)
    One line solutions are usually not the best ones (in terms of performance and readability) but people still upvote them because they look cool

  • Custom User Avatar
    • JackUnicorn
    • commented on "Multiplication table" javascript solution
    • 17 months ago

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

  • Custom User Avatar
    • JackUnicorn
    • commented on "Title Case" javascript solution
    • 17 months ago

    Finally a O(n) solution!

  • Custom User Avatar
    • JackUnicorn
    • commented on "WeIrD StRiNg CaSe" javascript solution
    • 17 months ago

    I never worry about big O when doing these.

    Isn't it the whole point of these coding tasks — to find a performant solution (in terms of big O)?

  • Custom User Avatar
    • JackUnicorn
    • commented on "CamelCase Method" javascript solution
    • 17 months ago

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

  • Custom User Avatar
    • JackUnicorn
    • commented on "Palindromes Here and There" javascript solution
    • 2 years ago

    /

  • Custom User Avatar
    • JackUnicorn
    • commented on "Remove the parentheses" javascript solution
    • 2 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...