• 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
ooflorent Avatar
Name:Florent Cailhol
Clan:Unknown
Member Since:Aug 2014
Last Seen:Jun 2022
Profiles:
Following:7
Followers:285
Allies:5
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (154)
  • Needs Resolution
  • Custom User Avatar
    • ooflorent
    • commented on "Rot13" javascript solution
    • 7 years ago

    I think you both are missing the point. This is not hardcoded, this is how you avoid extra computations. You don't have to calculate the rotation of A each time. Computing an alphabet is pretty common in cryptography. For rot13, the alphabet is known upfront so you can skip its computation.

  • Custom User Avatar
    • ooflorent
    • commented on "Decipher this! " javascript solution
    • 7 years ago

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

  • Custom User Avatar
    • ooflorent
    • commented on "ROT13" javascript solution
    • 7 years ago

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

  • Custom User Avatar
    • ooflorent
    • commented on "Remove Zeros" javascript solution
    • 7 years ago

    No it's O(n)

  • Custom User Avatar
    • ooflorent
    • commented on "Troll Mystery Encoding" kata
    • 7 years ago

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

  • Custom User Avatar
    • ooflorent
    • created an issue for "Brainfuck Translator" kata
    • 7 years ago

    Another issue, your solution wrongly translates [+..,,].
    It outputs:

    if (*p) do {
      *p += 1;
      putchar(*p);
      *p = getchar();
    } while (*p);
    

    Whereas the expected result is:

    if (*p) do {
      *p += 1;
      putchar(*p);
      putchar(*p);
      *p = getchar();
      *p = getchar();
    } while (*p);
    
  • Custom User Avatar
    • ooflorent
    • created an issue for "Brainfuck Translator" kata
    • 7 years ago

    I think there an issue with the expected solution.
    +[] should translate to:

    *p += 1;
    if (*p) do {
    } while (*p);
    

    The infinite loop is intended!

  • Custom User Avatar
    • ooflorent
    • commented on "Assembler interpreter (part II)" kata
    • 8 years ago

    all interpreters on cw are overranked

    Then you should really try To BrainFuck Transpiler.
    This one is really hard and is rated 4 kyu (why?!)

  • Custom User Avatar
    • ooflorent
    • commented on "class List" kata
    • 8 years ago

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

  • Custom User Avatar
    • ooflorent
    • commented on "class List" kata
    • 8 years ago

    What about this test?

    Test.assertDeepEquals( List.replicate(0,undefined).toList(), List.empty.toList() );
    

    If undefined is an acceptable value, then this test is wrong.

  • Custom User Avatar
    • ooflorent
    • created an issue for "class List" kata
    • 8 years ago

    I'm passing all tests, except one. What's the expected result of:

    • List.iterate(inc, 0).last()
    • List.iterate(inc, 0).foldr(identity)
    • List.repeat(3).reverse().head()

    Should we throw? Return undefined / empty list ?
    The intended behavior for infinite list is not well described...

  • Custom User Avatar
    • ooflorent
    • commented on "class List" kata
    • 8 years ago

    The amount of work required by this kata is huge. You should consider trimming the method list.

  • Custom User Avatar
    • ooflorent
    • commented on "Multi Line Task: Hello World (Without Letters)" javascript solution
    • 8 years ago

    Doing it in 354 lines.

  • Custom User Avatar
    • ooflorent
    • commented on "Tail Call Optimization" kata
    • 8 years ago

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

  • Custom User Avatar
    • ooflorent
    • commented on "Tail Call Optimization" kata
    • 8 years ago

    Thank you so much for this kata! It was so hard but quite enjoyable!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...