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.
Can you be a bit more specific in the description about what datatype the column "number" should be?
It probably should, but I believe that was not the point of your original remark.
Perhaps this issue would benefit from being re-written with appropriate cases. It's a waste of time to work with inconsistent input, as the saying goes - "garbage in, garbage out." In reality, people work with actual data rather than just descriptions of it. When something goes wrong, it's necessary to provide the dataset that caused the issue. I find it amusing that many computer science challenges focus on "corner" cases. In my experience working on production problems, developers don't typically think about "corner" cases; they focus on addressing the specific problem at hand. While there may always be another "corner" case that arises, the sheer number of potential cases is unlimited, so the idea of covering them all is unrealistic.
Maybe the default test should include result validation? :-)
I'm not aware of any errors. Correct solution passes tests just fine.
Which test did fail for you with that 'expected result'?
The default test - the only with the above dataset - doesn't include result validation.
This problem contains the most retarded tests I have even seen. They should be re-written/fixed of this assignment should not be on this site.
Is something wrong with the simple test?
The above obviously do not overlap, but the expected result is
10.0.0.0 is not a valid address, it is a network address.
Good job! It seems like the only pure SQL solution that works.
Not working for the following simple test:
Not working for the following simple test:
This is not working for the following simple test:
Could the following test be added please?
Expected result:
This query does not return correct answer for the following test:
This query is not working. To prove it, just remove id = 4 from the test data:
The result will be:
Loading more items...