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.
In totalVisits long
volatile
is excess. Becausesynchronized
provide belowvolatile
provide onlywhen you sync access to variable, you can do not write
volatile
.Also sync access to concurrent hash map is excess.
ahahaha that is thinking outside the box..
superb
Not an issue, a suggestion (the kata works without that and the name is consistent with conventionss used in java).
Anyway, done.
@Blind4Basics: Yes, was just to get it work, nothing more - generally better to delete this one (but not my kata, not my decision);-)...
@smile67: is that really useful? Considering the satisfaction rate and the number of guy who already completed it and downvoted it, this kata will never go out of beta. :/
But it's nive to have it at least "working", yes.
cheers
fixed...
Not my kata, but issue fixed;-)...
This Kata is broken since more than a year. Either fix or delete.
Characters do not cost us money. I suggest renaming "inp" to "input". Readable variable names are important.