About this solution
We automatically group similar solutions and generate statistics about how popular they are.
16
Submissions
3y+ ago
First submitted
20,476
Max track rep
This solution's approach
Explore the pros and cons of this approach in our community-written deep dive…
switch expression
Use a switch expression.
Used by 856 people.