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.
@Kacarott, yes natural language is a better fit here.
@Kacarott, it's the opposite, I think. The size of the shoes array is between 1 and 100 and the
size of one shoe
is between 2 and 50. Or am I wrong?Edit: I may be wrong actually... hmm, what about changing both to 100 so that we avoid the confusion?
Would changing
2 ≤ shoes.length ≤ 50, 1 ≤ shoes[i][1] ≤ 100
to be something like:2 ≤ length of shoes array ≤ 50, 1 ≤ size of shoe ≤ 100
resolve the issue, in your opinion?Yeah right. "Issue resolved". This is the exact mindset behind the myriad of shitty software specs.
If you would give adequate information, maybe someone could actually fix any problems ( if they exist. there is no way to know ATM ).
the issue here is between the chair and the keyboard
Some translations may contains errors, but because the approver may not be proficient in this language, he can not find the existence of errors. In this case, we can only wait for the help of translator or enthusiasts to correct the mistakes. Thanks for your feedback ^_^
Thank you. :)
Approved. Thanks ^_^
Java translation, please review and approve :)
Need a little hint regarding a possible algorythm.
My current algo passes all basic tests but times out when testing longer strings so my algorythm needs to be more efficient.
At the moment I am producing a list of all posssible permutations then selecting the middle or N/2th string from that list.
Can anyone point me in the right direction?
Every previous number can be at most half the next number. (2, 3, 10) is ineligible, because 2 > 3/2
Yes, it is not code. I don't know of many languages (if any?) where
2 ≤ shoes.length ≤ 50
is valid code (which works as intended anyway). It is merely a much more concise way of saying "The length of the arrayshoes
is between2
and50
inclusive."Well, then the description is wrong, because
shoes.length
is not valid in all languages.The description is the same in all languages. Does that mean the inputs in C are different than other langs? It looks the same to me, but I don't do C at all, so I could very well be wrong.
Loading more items...