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.
Python new test framework should be used (Refer this for more detail)
many random tests are passed but one is failed and the graphs (got vs. expected) show many differences. It would be great if I could get the coefficients or the bit string for debug too.
This comment is hidden because it contains spoiler information about the solution
Can anyone help give me a nudge on flag/box 2? emptying the second field is not possible and changing it to 1 character stuff and hash does nothing, changing username does nothing. Im certain the echo command into the file is the way to go still.
I'm the 4th who's solved this kata using Dart. It would be nice to include this point in description:
Thanks for this fun!
I envisioned a solution like this:
take the size HashMap<longUrl, shortUrl>, this size will be the ordinal number of the long URL. Through transformation base10to26 I get a short URL.
But with this conversion for the number 17576 in base10 form, I get the number 1000 in base26 form.
This works if you use a larger base(like base62), but it doesn't work for base26.
Please, help me, is this the right solution or I need to use a completely different solution?
6 kyu for the amount of work the average solutions are... and the complexity?? Should be ~4-5 kyu... a bit off imo
I probably found some problems with C# tests.
It had an issue when solving "475k tests" (when I wanted to store all urls as lowercased).
I got result:
Test Failed String lengths are both 56. Strings differ at index 8. Expected: "http://sbwu=tiggcx7n4t1=thnfnctsgflp3jipplkh62re0bvc.fr/" But was: "http://sBWu=TIGGCx7N4t1=tHNFNcTsgFLp3jIPPlKh62rE0Bvc.fr/" -------------------^
"But was" indicates that I had stored "not lower cased" urls.. which is strange, because im sure that I LowerCase everything what I store.
I even tested it with modification to Redirect method (so that method LowerCases result anyway)... same issue.
I guess tests have mistaken
expected
withactual
values.It is not end of the world, but it is a bit confusing (and hard to debug, when tests are server-side).
There seems to be a corner case when the block size is 248 bits.
If you insert 8 parity bits to cover all the blocks from 2^0 to 2^7, then there is still one uncovered bit at position (8 + 248 = 256) that needs a parity bit for 2^8.
Or is there something else I'm not understanding that makes it unnecessary to have that extra parity bit?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
There is an alternate solution to flag 2, which is to set
agent007
to root user:However this is not accepted by the machine. In real unix systems this should be valid and will make
agent007
the root user.Hello, can someone help me understand the question a bit better..
How do you know if the field is white or black?
This comment is hidden because it contains spoiler information about the solution
Is there a reason to expect ArrayList over List in Java?
Loading more items...