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.
This is an obvious duplicate... how was this accepted?
I'm passing every sample test in Python, but when I attempted to submit final I can't pass this test. I've scratched my head and gone over my equations a good amount of times, when I finally decided to graph it in Desmos and notice the 'correct' solution isn't even on the enemy's ray of movement. https://i.imgur.com/hmgnmDo.png
Oof, fixed. Can't believe I'm letting all these slip.
Tests are now consistent, and a fixed test has been provided with duplicates missing as requested.
Should be fixed.
This comment is hidden because it contains spoiler information about the solution
No need to be so harsh on the interest of the kata. This is my first publication and it was mostly meant to be a starter, but I will try to modify the description to be clearer.
The following test case doesn't work:
String:
'§'
Comment characters:
[#, §]
Expected return value:
'\n'
But this one does?
String:
'#'
Comment characters:
[#, !]
Expected return value:
''
Took me a bit to figure out, but some people do prefer to have map[x][y] as opposed to map[y][x]