Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
my hypothesis is that the Codewars' markdown renderer supported
<style>
declarations at some point but stopped doing so after an update. if someone has a workaround they should edit the description, as the inline CSS blows up the size of the description's sourcetechnically,
<style>
elements are only supposed to be present in the<head>
element, so I'm not surprised that it stopped working. I replaced all of theclass
attributes by inlinestyle
attributes, which fixes the descriptionThis comment is hidden because it contains spoiler information about the solution
After 2 years it seems the description si broken and is not showing the Peaces.
I found a local solution by inspecting the cells (html td's), and creating a new css style rule fot the td.w, set a color to the background for example:
td.w {
bacground-color: aqua;
}
Fixed, now the expected result does not change despite any changes in the input array
Random tests: modifying the input changes the expected result.
Fixed test Assertions as suggested
Thanks for pointing that out. Added random tests
Suggested tags:
arrays, geometry, algorithms
Your kata is sent back to Draft, once you solve these issues, you can republish the kata back to beta.
Error messages are not useful. You have to test the tuple as a whole, not item by item.
The user wants to see something like this:
actual value (1, 0) does not equal expected value (3, 5)
This comment is hidden because it contains spoiler information about the solution