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.
Ternary (conditional) operator.
I love this solution.
can anyone help!
i need to understand those operators ? : the only reason i dont learn to use them is i donjt even know how their called in the first place.
Love this. Super simple, puts my nested for loop to shame.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Very clever and best practice since it don't use lots of resources with expensive Regex...
The code above isn't formatted properly and can't be considered as "Best Practices".
Google(https://google.github.io/styleguide/javaguide.html#s4.6.2-horizontal-whitespace) advises to have whitespaces "On both sides of any binary or ternary operator."
Oracle(https://www.oracle.com/technetwork/java/codeconventions-150003.pdf) advises the same: "All binary operators except . should be separated from their operands by spaces."
For rookie,It's easy to read to learn!
Thx!
cool
I like this solution a lot.
Incredibly neat solution...I really like this.
This comment is hidden because it contains spoiler information about the solution
it's really cool!
I like this the best
reading is hard
Loading more items...