• 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
rjrahul Avatar
Name:Rahul Jain
Clan:Sapient, Publicis, PublicisSapient, P.S
Member Since:Aug 2017
Last Seen:Feb 2020
Profiles:
Following:62
Followers:64
Allies:62
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (6)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • rjrahul
    • commented on "ASCII85 Encoding & Decoding" kata
    • 8 years ago

    Thanks @JorgeVS! Your pointer to read comments helped nailing the problem. But I must say, it is peculiar to take coder's own encode method and use it to feed in decoding.

  • Custom User Avatar
    • rjrahul
    • commented on "ASCII85 Encoding & Decoding" kata
    • 8 years ago

    Hey @JorgeVS, I am too at the same issue. Any pointers what am I missing?

  • Custom User Avatar
    • Blind4Basics
    • resolved an issue on "Esolang Interpreters #2 - Custom Smallfuck Interpreter" kata
    • 8 years ago

    you're wrong:

    '[' was encountered at 0

    the 0 here is the value under the pointer, not the "address of the pointer in the tape". So if '[' was encountered at 0, the value under the pointer IS 0 and you effectively move forward in any case.

  • Custom User Avatar
    • rjrahul
    • created an issue for "Esolang Interpreters #2 - Custom Smallfuck Interpreter" kata
    • 8 years ago

    As per the description it says, ']' - Jump back to matching [ (if value at current cell is nonzero). The statement in bracket 'if value at current cell is nonzero' is not correct. If we encounter ']' we need to always return back to matching '['.

    Consider a scenario where matching '[' was encountered at 0 and current pointer is at non zero it needs to move forward.

  • Custom User Avatar
    • rjrahul
    • commented on "Are they the "same"?" javascript solution
    • 8 years ago

    When splicing, it will change the original array and that in my opinion is a negative side effect of the function.

  • Custom User Avatar
    • rjrahul
    • commented on "Sum without highest and lowest number" kata
    • 8 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...