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.
Your points are not included in the array of your class's points. Do not forget them when calculating the average score!
You missed this step in the solution.
really smart
This gave me an error message. AttributeError: module 'string' has no attribute 'maketrans'
I'm using Python 3.12
May I know why can't we use dna.maketrans? I tried it and it works. Programming newbie here so thanks so much for the help and advice!
This comment is hidden because it contains spoiler information about the solution
I think it's worth mentioning that O(n) and O(2n) are «technically» the same time complexity. Obviously O(2n) is worse than O(n), but in terms of big O notation, they're both linear, so they're the same thing.
yes
Good
genious
You need a calculator to do 3600/100_000?
Yeah, you definitely should only submit the best possible code in 8 kyu katas, or else all your future employers will see them and find out how bad of a programmer you are.
The translate method applies the translation table to the input string dna, replacing each character according to the mapping.
@VDSurChauffe well i agree now
nothing is cheating here as long as you don't use exploits
This comment is hidden because it contains spoiler information about the solution
Loading more items...