Ad
  • Custom User Avatar

    Rejected:

    • Fixed tests should not be shuffled

    • No random tests (shuffled tests from a pre-defined small range do not count IMO)

    • describe -> it block structure should be used. Currently assertions are presented at the top headers...

    • Using outdated JS framework (mocha + chai should be used with Node 18. enabled)

    • Test.assertDeepEquals exists back then so it should be used instead, which is equivalent to assert.deepEqual as of current standards :-)

    • shuffle function will run forever if the array has a length of 1000 or beyond ... it should be modified to not generate randomness based on input length, but something else. Or even better, use built-in from lodash ...

    Kindly read the translating guidelines before publishing more translations ^^

  • 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

    Really struggling on the last Bomb; I can see the body of the diffuse function, but I can't figure out what it's even trying to accomplish. Do both parts need to evaluate to true or something? Totally lost, would really appreciate any help!