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.
Not sure that this is necessarily an issue (as the variables already include the word string and example testcases have the binary strings as strings), but have added quotes around the strings in the
it
blockFixed
I do agree that the description is a bit hard to read, so thank you for the fork. My main concern with your fork is that it doesn't mention anything removing elements, only "optimizing the gift production", which I feel is unclear. Additionally, though this might be due to the fact that I'm used to the formats of other sites, but I feel the large amount of headers do clutter the description, and information could be more easily condensed. I've made a fork of your work, and would like to know your thoughts on it.
Thanks! (changing it in the meantime just to replace the current description)
Could you explain how you got 1201, because 2110 is the correct answer. You should make it so the digits are sorted in descending order (essentially a greater number comes before a lesser number, and we can see that your answer is incorrect as 1 comes before 2, but 2 is a greater digit
Let's just say the "state of the art statistical model" isn't really accurate.
(I'm presumming you are talking about cases such as n = 5, score = 7, but I'd say that's covered by the "If this is not possible, return -1" part, if you're referring to something else, please clarify in a comment)
I used "an" because the first syllable is a vowel sound,
an
personally sounds better to me. That being said, I can find both uses on google, and I don't think it's something to worry too much about, though I agree with Kayleigh thatan O(n)
is correct.
Approved!
Fixed, reference solution now uses integer division
I haven't used C# in a long time (this is a translation from 2 years ago), so I might be unaware of this, but does C# allow variable access outside of the function's scope, since that's the only reason that I could think of for this change to be necessary. Not to mention, adding the private modifier directly to the variable causes a compile time error, since (at least from what I can tell) you can't add access modifiers to variables inside a function's scope. Some further clarification would be gratefully appreciated.
Changed
Added the input into the assertion message, NUnit handles showing the actual and expected
Swift translation does not perform the random tests, fixed in fork
Make a function to generate random strings, then in the Male and Female catergories, add a random amount of random strings to each category
added
Fixed
Approved by someone
Loading more items...