Ad
  • Default User Avatar

    @Arandolph543, read the description again and focus on the second bullet point. There's a key term there that you missed.

  • Custom User Avatar

    Well, I am not your tutor. You asked why your solution doesn't work, and I identified (one of) potential issues in it. If you want to ignore that, that's your choice. I have no obligation teaching you. Your report does not show any specific things that need to be fixed, so I am not sure how can I help you.

    I suggest you find yourself a teacher or go through some additional training/tutorials if you cannot handle simple issues yourself.

  • Custom User Avatar

    I have solved this solution and it is literally not compiling any code for this solution in the editor. That's why I was particular to see if there was a reason even this small snippet of the solution was not giving the correct compiled response. My code that works on my machine does have the every case handled but that's not the question I was addressing. So don't overanalyis into degradation of civility as you degredate effervescent ethusiast to have disillusioned notations that articulating about their work is strife issuing. I'd rather you again read what I asked since this is a written forum.

  • Custom User Avatar

    I asked because your code actually ignores the case of n==1. And this is not the only issue, as far as I can see. You need to work more on your solution.

  • Custom User Avatar

    <[tab][[tab][]LF]> but was:<[tab][[]LF]>

  • Custom User Avatar

    What will your solution return if n is 1?

  • Custom User Avatar

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