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.
Nice one of the ASCII art series, funny to practice objects detection with.
I love creativity dude. Good job!
Rust solution setup uses a template:
Thanks for the thorough explanation and the link to the video! Very cool!
.
The text is actually correct, so the issue is a different one: the description should have this as an example.
I mean, those are not meant to be intersections, obviously. I don't think this is really an issue.
Nice Kata!
Apparently,
"-"
and"|"
can appear at intersections too, and nothing's told about how such cases should be handled.Hey @mildlyeastern,
That's a great question! It's referred to as a ternary. It's a one line conditional statement where the condition is followed the truthy evaluation followed by the else. So like this:
condition == true ? ifConditionWasTrue : elseIfItWasNot
aka
if (condition == true) {
return ifConditionWasTrue;
}else{
return elseIfItWasNot
}
Can someone explain to me what the ? and the : does in the return statement.
Fixed
C++ version generates warnings.
Is the issue truly resolved? I'm still getting the same solution setup as in the original post even when I hit the reset button.
Thank you.
Loading more items...