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.
It's weird that MMMM has to be accepted.
@farhanaditya, doesn't Python match already checks from the beginning of the string? Then why would it match forbidden characters?
The ? after the * is to use lazy instead of greedy quantification, it just makes the process slightly faster (since it returns after the first match) but either one should work.
This comment is hidden because it contains spoiler information about the solution
Off topic but wow, that profile pic surprised me, seeing a Márai fan outside of Hungary.
At least the footnotes whose number is the square of a prime number.
Suddenly the footnotes make slightly more sense lol
It really depends on your mathematical background. If you're familiar with sequences and bitwise operations, it's quite trivial. Otherwise, it can take you quite a while.
Good luck solving it though, I hope you figure it out :)
Only 6 kyu? It seems quite tricky, maybe if I manage to solve it, I'll understand why it's only 6 kyu but right now it definitely feels harder.
Why does the space in the string makes the syntax highlihgting look so bad?
This comment is hidden because it contains spoiler information about the solution
Surprisingly hard if you don't use any formatting.
I also found the description confusing. Try watching this video, if you watch just half of it, it should be much clearer what is done already.
That's actually correct (although it's important to note that you need to return the last integer number you calculated, but I think that's clear from the tests.). What I suspect that might be your mistake is not returning to the beginning of the array, once you did a multiplication. This was the issue in my case at least.
The the hint is so subtle that even after I understood what I need to focus on (reading the discussion) I didn't notice the hint lol. Maybe it's on me, now the hint is clearer.
Marking this task as 7 kyu makes more sense to me, I visited a lot of 7 kyu tasks lately and the difficulty is very similar, whereas the vast majority of the 6 kyu tasks are harder than this.
Loading more items...