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.
Hi! Where is a new Kata with execSync. I'm waiting😊
try to use console.log() on the random tests that fail and according to it see the bug in your code.
? same problem......
"last argument - Expected: z, instead got: a"
inspect in a console what is a variable containing a number, then do the same with something else, what comes to your mind?
Thanks :)
(Javascript ?) :
If you log
list
you don't logarguments
, you just log the first argument.And, of course, if there're more than one argument, the first is not the last :)
Your solution will fail a case like dict = ['ab', 'abc', 'd'], word = "abcd".