• 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
josefabio Avatar
Name:Jose Fabio
Clan:Unknown
Skills:react, javascript, express, mongoose
Member Since:Aug 2020
Last Seen:Feb 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (15)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • tamaki-code
    • commented on "Encrypt this!" typescript solution
    • 13 months ago

    Thank you for your comment!
    As you said, in addition to faster processing speed, the readability of the code also improves.

  • Custom User Avatar
    • josefabio
    • commented on "Encrypt this!" typescript solution
    • 13 months ago

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

  • Custom User Avatar
    • josefabio
    • commented on "Encrypt this!" typescript solution
    • 13 months ago

    Clever, but very slow. My solution is 4.27x faster.

  • Custom User Avatar
    • josefabio
    • commented on "Backspaces in string" typescript solution
    • 13 months ago

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

  • Custom User Avatar
    • josefabio
    • commented on "Backspaces in string" typescript solution
    • 13 months ago

    This is almost twice as slow than using a for of with a stack array that joins at the end, but it's clever.

  • Custom User Avatar
    • josefabio
    • commented on "Backspaces in string" typescript solution
    • 13 months ago

    This is almost twice as slow than using a for of with a stack array that joins at the end.

  • Custom User Avatar
    • josefabio
    • commented on "Make the Deadfish Swim" typescript solution
    • 13 months ago

    a for of to the string is faster and more readable.

  • Custom User Avatar
    • josefabio
    • commented on "Which are in?" typescript solution
    • 13 months ago

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

  • Custom User Avatar
    • josefabio
    • commented on "Multiples of 3 or 5" typescript solution
    • 14 months ago

    Awesome. 268x faster than my solution.

  • Custom User Avatar
    • josefabio
    • commented on "Exes and Ohs" typescript solution
    • 14 months ago

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

  • Custom User Avatar
    • josefabio
    • commented on "Exes and Ohs" typescript solution
    • 14 months ago

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

  • Custom User Avatar
    • josefabio
    • commented on "PaginationHelper" kata
    • 3 years ago
    describe("Solution", function() {
      it("should test for something", function() {
        var helper = new PaginationHelper(['a','b','c','d','e','f'], 4);
        assert.strictEqual(helper.pageItemCount(0), 4);
        assert.strictEqual(helper.pageItemCount(1), 2);
        assert.strictEqual(helper.pageItemCount(2), -1);
        
        var helper2 = new PaginationHelper(['a','b','c','d','e','f'], 2);
        assert.strictEqual(helper2.pageItemCount(-1), -1);
        assert.strictEqual(helper2.pageItemCount(0), 2);
        assert.strictEqual(helper2.pageItemCount(1), 2);
        assert.strictEqual(helper2.pageItemCount(2), 2);
        assert.strictEqual(helper2.pageItemCount(3), -1);
      });
    });
    

    They are passing, but the Attempt is not. I also think there is a problem.

  • Custom User Avatar
    • josefabio
    • commented on "Multiply" javascript solution
    • 4 years ago

    Terribly indented code 🤮

  • Custom User Avatar
    • Blind4Basics
    • commented on "Valid Parentheses" javascript solution
    • 5 years ago

    you're overthinking this: this approach is actually very bad (think about its time complexity)

  • Custom User Avatar
    • josefabio
    • commented on "Valid Parentheses" javascript solution
    • 5 years ago

    Awesome!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...