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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
how to take 16 lines of code and turn it into 5 ;)
very well done, nice to see how smooth it can be.
also best/fastest solution due to use of min/max ^^
ok given up now. good handful of hours put into it and several days later i must simply accept that i am lacking some knowledge somewhere to complete it.
seems i can get it down to like O(nlogn)'ish, which isn't nearly enough;
so i must be lacking some mathematical background, some systematic knowledge of xor or a completely different approach (or all of the above hehe).
either way i am apparently not on ready for this yet :P
awesome assignment for getting my readup on binary manipulation and masking.
if you got any hints to each theorom i should read up on it would be appriciated (don't like leaving it unsolved :P )
for others with the same issue, it is:
column index ^ row index =time they can give. (in decimal: base 10)
example: row 4 col 7= 4^7=3 as seen.
i am having issues figuring out what dataset you are asking us to use?
after too much time wasted on it i can only assume it is decyphor the array from the example and implement an incremental initiated array in that manner.
if that is so it would have helped a lot on the enjoyment, and frustration, if that was stated in the description as this is where i would look for such info :)
@user5036852
nvm; found a working solution;
it looked like expected and actual was the correct input in the test which was very confusing
same issue... 6 months and no answer for you :/
nvm; found a working solution;
it looked like expected and actual was the correct input in the test which was very confusing.
moved it all over to visual studio and wrote some test which showed the results "correctly" (a space got misplaced in the start which couldnt be seen in the test results here)
nvm; found a working solution;
it looked like expected and actual was the correct input in the test which was very confusing
This comment is hidden because it contains spoiler information about the solution