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.
agree to disagree. As I see your point of view valid I also think of it like this: Ok, I know how to permuate a list with itertools, but it's crucial for me to know what exaclty permutation is and how the alghoritm look like
This is why I thought that itertools is considered cheating :<
I thought that writing your own product func is the goal :)
it looks nice, one liner.
I personnaly prefer manually iterating each letter to reduce complexity
This comment is hidden because it contains spoiler information about the solution
this is my first solution. but i feel it is O(5n) and with simple for .. you can do it just O(n)
why most "best practices" is for solution that do two sums in every round?