About this solution
We automatically group similar solutions and generate statistics about how popular they are.
8
Submissions
6y+ ago
First submitted
62
Max track rep
This solution's approach
Explore the pros and cons of this approach in our community-written deep dive…
Ternary operator
Use a ternary operator of boolean expressions.
Used by 323 people.