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 comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hello, I keep on getting execution timed out, my script passes 120 or so test cases in allowed time (Python). I'm using recursion. Was wondering if anyone else used recursion and did not time out, can you share some optimization tips? Or did everyone use dynamic programming?
Hello, could anybody tell me why the expect result of this combination is "false"?
It looks like we can get the string from belong sequence (2, 10) -> (3, 10) -> (4, 10) -> (5, 11) -> (6, 11) -> (7, 12) -> (8, 11).
(From random test case)
string to match: CFCDBEH
board:
{'R','O','U','S','Z','J','Q','L','O','S','G','Y','Y','H','E','X','T','T','W'},
{'O','E','R','T','U','Y','H','M','Y','U','W','J','N','M','D','F','L','M','W'},
{'W','C','Q','E','D','P','N','J','O','H','C','K','X','G','E','R','C','C','A'},
{'O','D','W','M','O','K','Y','R','P','L','F','L','J','K','C','N','N','T','B'},
{'Y','H','K','B','S','H','H','Y','A','M','C','A','C','F','X','P','V','H','P'},
{'O','Y','B','U','M','M','G','Q','A','V','J','D','T','Q','P','U','I','Y','E'},
{'I','Z','S','L','B','U','S','A','L','O','J','B','C','I','E','Y','U','Q','G'},
{'K','S','B','T','X','V','L','M','R','W','L','V','E','K','N','P','N','K','I'},
{'O','V','Y','X','Y','C','H','E','B','D','V','H','P','P','L','I','N','G','W'},
{'Z','X','S','K','V','W','W','K','M','K','U','W','A','S','W','X','Q','Y','H'},
{'V','B','K','S','L','A','J','W','K','W','E','G','Y','D','Y','I','A','V','H'},
{'L','J','T','H','H','T','Z','D','S','S','B','Z','N','F','K','H','Q','M','Q'},
{'O','W','N','S','D','L','X','D','V','Y','Y','E','L','J','X','S','Q','Q','U'},
{'V','L','M','Z','K','B','E','W','I','W','I','Y','K','F','N','E','K','A','B'},
{'N','Y','B','O','C','M','X','A','F','O','S','B','L','D','N','K','O','Q','O'},
{'K','Y','K','V','Y','W','A','O','A','M','O','E','Z','M','F','N','P','S','L'},
{'R','Z','B','J','A','M','N','P','Z','D','F','N','P','F','A','K','D','Y','M'},
{'R','Z','Y','I','F','Y','W','K','N','N','C','Y','E','D','B','O','F','Q','D'},
{'U','P','G','B','E','V','G','G','G','K','F','S','D','G','T','N','L','R','K'},
need someone to make the JS version consistent with the updates of java and python.
thanks to any PU passing by... ;)