Ad
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    Hello,

    I'm working in R and running into issues regarding large values (specifically going from 170 to 171). Is the remark at the bottom of the description an indication that we will need to install a package to handle large inputs? Or is there a way to work around the 171 problem in base R? Note: I am only wanting a "Yes, there is a way to work around the 171 problem in base R" or "No, there is not a way to work around the 171 problem in base R." I have never tried installing packages in CodeWars and therefore have no idea if it is even a thing or not.

  • Custom User Avatar

    Hello,

    I am attempting to double check that I am thinking about the indexing properly on this kata. My understanding is that I want to minimize both i and j. Does i take priority? Does that mean the following:

    testing(27345, c(23745, 2, 3)) would be the correct answer

    as opposed to:

    testing(27345, c(23745, 3, 2))

    Provided i takes priority. I would want to take the 7 and move it behind the 3 (i=2 goes to j=3) rather than moving the 3 ahead of the 7 (i=3 goes to j=2).

    Is this correct thinking?

  • Custom User Avatar
  • Custom User Avatar

    Does anybody know how CodeWars' algorithm for suggested Kata on your front page works?

    When I first started it seemed as if CodeWars was challenging me by giving me a kata that was ranked one better than what I was currently at (giving me a 6 while I was a 7). I then stopped frequenting the site as often (maybe every 3-4 days instead of everyday) and now it is doing the opposite. It is suggesting katas one below my current rank (giving me a 6 when I am a 5). The one obvious thing to me is how frequently I visit the site. Does anybody know if this plays a role? If not, what does?

    I know I could simply search for Katas that are my rank or higher to challenge myself. I am just curious and would like to know if there is something I am missing here or if CodeWars has a logical reason for slowing down how hard they are challenging me.

    Thanks!

  • Custom User Avatar

    My goodness. What a doozy. I have been frequenting CodeWars for about a month and this was my 14th kata. Rethinking my logic to improve performance for this particular kata was the most challenging thing I've done thus far on this site. Kudos.

  • Custom User Avatar

    You're telling me.

    (Coming from somebody who is currently stuck only on improving performance and is getting increasingly closer to smashing my head through the wall)