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.
Nice Kata, but I suggest adding a test case where the preceding name also contains an "!"
Rust translation
Approve plz
Description does not specify whether the surnames can contain
!
! If such cases occur, then tests should invalidate these kinds of solutionsIve managed to pass it, but there is a few tests that i ran myself outside Codewars and my algorithm doesnt work. Its a simple case with a two rows dead end in labyrinth. If its already reported, then im sorry for bother.
C translation
My code works for the sample tests. However it won't complete in time when trying the hidden tests.
I thought that mazes without an exit could be the problem, so I wrote some code to check if the outside wall has a hole in it to escape the maze.
It still won't complete within the 12 seconds.
Any suggestions?