Ad
  • Custom User Avatar

    Found my problem, for some reason I mentally removed the parentheses (pls don't ask why), so my calculations are off by 1 (each iteration). I did n - names.length - 1, instead it was n - (names.length - 1) or n - names.length + 1 if you want.

  • Custom User Avatar

    Sorry yeah, you're right. Fixing that the 21st should anyway endup on L(eonard) though:

    S L P R H
    SS LL PP RR HH
    SSSS L(L)LL PPPP RRRE HHHH
    

    So it doesn't change the fact that the index would go to -1.

  • 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