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
kcpadljmaşdsdmas çözüm aşırı verimsiz ztn best practices vermisler bi de
barzomusun bilader liste ne list yazsan vatan hainimi olucan haha
My method was pretty similar.
The randomised test data can produce inputs with multiple periods with equal visit counts. This proposed solution should include
v1.entry_time asc
in the order by to pick the earlier event in that case.Without the order by it is liable to pick the later group, and that's the wrong answer here (as
when_happened
should be the earliest timestamp).Maybe you used percentile_disc instead of percentile_cont?
This is now failing some test cases?
This one didn't pass for me. median needed to be a float (52.5) where my answer gave 52. Even casting as a float wouldn't work.
you're constantly generating new lists
for a long string this would cost youm better to build one output list drawing values individually testing against the original string
Ah, yes. I was about to make the same comment about ?*11=??. But you are right I missed this detail: "All of the ?s in an expression will represent the same digit (0-9), and it won't be one of the other given digits in the expression." I forgot to check whether the digit was the same as another one in the expression. Thanks!
Misses cases like "127.1.1.0" which is a valid but it will return False.
You can't start a integer with a zero in python unless it is zero.
eg. If you try:
n = 0123
, it will give a syntax error.Tests are perfectly fine. Read the description again.
?*11=?? it can be 3, 4, 5, 6,7,8,9
8997+987?9=1077?6 in this random generated example both 0 and 2 work. OR another mistake in random example that I encountered is ?*11=??
1,2,3... all of them work for this example. I believe random examples should corrected.
Loading more items...