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.
I'm passing 98 random tests out of 100. My algorithm can't handle an array of 42,000 numbers. Trouble :(
I think that global variables should take initial values between tests, otherwise the tests receive different input data
Bombs do not detonate other bombs! I did not understand from the description.
I noticed a very strange feature. If you create global variables (not in a function). Then their state persists between tests. I first created dictionaries as global variables, and did not understand what was happening :) This is very strange in my opinion.
Thank you! The task turned out to be more difficult than I expected. Unfortunately, I didn't get it right away because of my very poor English.
After reading the discussions and making sure of my code, I found out that not all words have to be in the 1000 word set. And this must be indicated explicitly in the description! But I still can't solve the problem.
For example, I can return count 5 when I need 15. In doing so, I verified that when I return 5, some of the words are present in the 1000 word set. That is, my code works exactly as I want. And I cannot understand why I am not passing random tests.
I completely agree
Thank you! It was very hard! I've been looking for a solution for a long time. But the solution I found seems to me to be very tricky. 5 lines in total :)
Do I only have to slide when I land on the snake's head? And what is the difference between "Player n wine" and "Game over"?
It is much easier than usual for 5 kyu
If we don't know the city of a friend, we don't visit that friend
Thank you! Interesting and not easy
I really like 5kyu! This is the level where writing scripts is no longer difficult. It is difficult for the scripts to work quickly! Initially my solution was 20-25 lines. As a result, I completely changed the algorithm and wrote it in 5 lines, it works instantly :) Thanks for the kata! I got great pleasure!
I feel so smart! After all, my solution is exactly the same :)
This comment is hidden because it contains spoiler information about the solution
Loading more items...