• 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
redtramp Avatar
Name:Unknown
Clan:Unknown
Member Since:Mar 2021
Last Seen:Apr 2025
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (12)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • redtramp
      • commented on "PaginationHelper" javascript solution
      • 2 years ago

      this sollution doesn't pass tests now becouse of this reason

    • Custom User Avatar
      • redtramp
      • commented on "Grasshopper - Messi Goals" javascript solution
      • 4 years ago

      now he has deleted his account

    • Custom User Avatar
      • redtramp
      • commented on "Pizza Pi Parsimony" javascript solution
      • 4 years ago

      got it. thank you very much!

    • Custom User Avatar
      • Kacarott
      • commented on "Pizza Pi Parsimony" javascript solution
      • 4 years ago

      in .reduce((a,c)=> ... ? c : a) the a is our current best choice. The c is the next one we are checking. We make a comparison (in ...) and if c is a better choice, we return that, otherwise we return a. Whichever one we return, will become a in the next comparison. When there is nothing left to compare, a is returned (the best choice from all).

    • Custom User Avatar
      • redtramp
      • commented on "Pizza Pi Parsimony" javascript solution
      • 4 years ago

      have question about comparison in reduce:
      if it's false then method takes next object in 'c', but 'a' is still first object?
      and if it's true then method takes 'c' in 'a' and next object to 'c'?

    • Custom User Avatar
      • 0xjgv
      • commented on "Duplicates. Duplicates Everywhere." javascript solution
      • 4 years ago

      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in

      If v in seen then false and that means, filter the v from the array.

    • Custom User Avatar
      • redtramp
      • commented on "Duplicates. Duplicates Everywhere." javascript solution
      • 4 years ago

      how does "v in seen" works? is it just check of property in object? and if it's false then u add char to object and a filter return this char too?

    • Custom User Avatar
      • redtramp
      • commented on "Reverse every other word in the string" kata
      • 4 years ago

      JavaScript

    • Custom User Avatar
      • Chrono79
      • commented on "Reverse every other word in the string" kata
      • 4 years ago

      When reporting a problem, please state the language you're talking about, not all languages have the same tests.

    • Custom User Avatar
      • redtramp
      • commented on "Reverse every other word in the string" kata
      • 4 years ago

      There is no tests for several whitespaces between each word, and almost everyone uses .trim(). But it says in description ("while ensuring there is exactly one space between each word").

    • Custom User Avatar
      • redtramp
      • commented on "longest_palindrome" kata
      • 4 years ago

      u need 'baab' from the example "zzbaabcd", then it's 4

    • Custom User Avatar
      • redtramp
      • commented on "Count characters in your string" javascript solution
      • 4 years ago

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

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...