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.
This comment is hidden because it contains spoiler information about the solution
bruh...
https://memepedia.ru/wp-content/uploads/2021/12/chel-horosh-2.png
Wow, I totally forgot Go initializes everything with "zero values" so in this case I don't have to insert zeros myself. Nice solution
The solution I tried to implement, but because I didn't know about
cloned()
method had to go with clonning input array into variable -__-The best and the clearest to understand solution
There easily could be people who write "Afriqa" since the database is crowd-sourced. Also "Afriqa" is still distinctable from other continents' names so there is still no room for misuse of the database.
When you're trying to understand your own code after weekend
The most efficient solution.
Interesting solution. Different from how I see the problem.
Totally forgot about Set. Nice solution!
The best one.
Wow. It took me 10 minutes to write code that (as I was thinking) solves the problem and 50 minutes to detect little trick I was missing.
Did you have problems with sorting by values and then by place in original string?
Nobody will teach you how to think on problems solutions. You just have to get used to manipulating different data structures and applying this knowledge to solve problems. I was on your place. It took me two month to get comfortable with experimenting with code in order to solve such problems.
Loading more items...