Ad
  • Custom User Avatar

    Not a kata suggestion.

  • Custom User Avatar

    Your code is too slow, not a kata issue.

    Make sure to optimize your code: there will numbers tested up to about 10^12.

  • Custom User Avatar

    Node 18 is currently the latest available version across the entire website. It requires the admins to update any further than that, but no further updates will be made until all JS kata are updated to node 18. There are compatibility issues with some of the older kata, so those need to be fixed first. There is an effort to get all the JS kata updated, you can join the discord and ask for more info.

  • Custom User Avatar

    This caught me out too. It would be good if the node version was updated but I don't know how to do this.

  • Custom User Avatar

    Read the error message that you get. toSorted() is not available in node 18 (which is the highest version of node available for this kata). You'll have to find a solution that does not use toSorted().