Ad
  • Custom User Avatar

    C++ version of the kata seems to be OK. However, it's true that is seems to be somewhat more demanding than, for example, C# version. My approach I used for C# did not pass C++ tests, I had to improve it a bit.

    If you get timeouts or crashes, they are probably caused by your solution not being as efficient as you think. Compilation warnings are "just" warnings and probably do not affect the final outcome of the tests. They should be removed nonetheless.

  • Custom User Avatar

    JS. Not an issue, you just misinterpretaded the feedback. This grid obviously has no solution, so you should have returned false. If you did, the assertion function would have returned "Passed!", but instead, your code returned an array of three elements (while 4 bulbs on the map), hence your solution is considered incorrect.

    cheers

  • Custom User Avatar