Ad
  • Default User Avatar

    The arrays in the examples have the letter "n" next to the dimensions which is a notation for BigInt in javascript (it took me 1 hour to figure it out)
    So, you should convert your result to BigInt format using the function BigInt(number).
    It is a very difficult challenge this one! I do not know the coding way but I am trying to understand it mathematically first and I am struggling a lot.
    I hope my answer helps you. In general, the instructions are not so helpful, unfortunately.
    Amazing riddle anyway!