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.
why is this voted best practice if it modifies given data smh
I'm a big fan of the Elvis Operator - but don't quite feel it contributes to understanding in this case... I went with a more readable 'if'...
so so, everything is already done before us, great!
Expected and actual are the other way round, which is confusing until you realize.
On the submit solution the expected and actual string are wrong?
It says the the expected is "HtTps" and actual is "https" so I was getting an error and trying to figure out why since parse_url does not automatically converts the components to lower cases. Please check.
Needs random tests
You didn't say anything about what the components actually are.
So are you expecting us to rely on guesswork, or stumble on the exact same built-in/framework/code that you happen to use too?
Expected: 'HtTpS'
Actual : 'https'
it is not true
must be in reverse
||
/
Expected: 'https'
Actual : 'HtTpS'
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi
dnepro
,fixed.
Test case is incorrect.
Trivial for javascript, description probably needs improvement for other languages to clearly specify return values.
You can find some translation here:
Please review and accept if everything is ok.
This comment is hidden because it contains spoiler information about the solution
Loading more items...