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.
I don't know
thanks; I changed the solution to use u8 as well.
also updated to 1.56
This is a simple 8 kyu, I don't want to make it overly complex.
Feel free to go ahead and fork my translation to make it more consistantly add uppercase strings.
done (haven't updated this in 3 years. I doubt it's going to get merged in ever)
I copied the random tests from the Javascript implementation, and updated Typescript to 4.2 . (I wrote this 3 years ago, when there was no TS 4.2)
I like that it's iterative, but it would be faster if you maintained a count of opens and a count of closes as variables rather than calling out to this countOpens/countCloses function which loops through n elements again.
unpublished due to the existing kata
thanks, I didn't find that existing Kata before publishing this one. I unpublished mine
not sure how I overlooked that 😅
updated to 1.50
yeah, cloning the n and mutating the clone locally would be better.
thanks for the feedback!
I think using the language's built in functions should be allowed. The python solution allows it's itertools permutations function as well.
I would also like to compliment you on your translation of this Kata. This is very clean, well implemented, and correct as far as I can tell.
Please reach out to me on linkedin https://il.linkedin.com/in/michaelsalaverry
I am not sure lifecycles are appropriate in an 8 kyu exercise
Loading more items...