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.
Not a kata issue, they have the same nested structure, not the same items: sameStructureAs.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
"removed"? Do you mean "Retired" or "Draft"?
Yeah, just make sure everything is all right, and you can read this
Most python solutions here are without regex.
It comes from the quadratic equation! The 8 * t comes from the 4ac part of it.
hahaha
but it helped me understand what they did lmao
Because you check if the final length is 26, ie. the length of the alphabet.
Run your method with Linq implementation ten times for n=50_000_000 and you will see why :) Linq-based solutions usually call for O(n) solutions. The kata can be solved in O(1). Why run a loop
n
times when you can solve the problem witohut a loop?why shouldn't it?
Your kata has been auto-retred because of low satisfaction rating it collected from users trying to solve it. I have not solved it so I do not know exactly what was the problem, but I believe some hints can be found in comments. Additionally, if you want to create a kata and ensure its good quality, you can read following information:
You can't fix it and it's gone
...except it should not be used in this kata.