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
Approved
python new test framework is required. updated in this fork
Haha I almost forgot this method(ty for reminding)
corrected now + a sample case
I think there's a problem with author's solutions: when the key is entirely made of underscores (empty), the solution expects false.
Amazing idea
You're right... these things are not taught at schools too much. The emergence of computing brought to light some aspects of math that were less stressed before: Graph theory, Number Theory, Combinatorics, Discrete Math etc. Usually these topics are not well adressed in schools - the highschool curriculum (in many countries) is focused on algebra, calculus and geometry, and more suitable for learning physics or economics or engineering than computers.
And how needed are those hacks? when playing competitive programming or here on this site or maybe at some job interview - these tricks are awesome going from O(n) or O(n2) to easy one liner O(1)... I doubt how needed they are in real life programming. Probably not much, and if you ever need them, google them out
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
What a legend!
This was a genius way to solve this problem. Kudos to you.
I really liked this kata, easy yet challenging.
i learn this line from someone's solution.
you can get the same question in "Replace letters" question.
idk is this the name or not, im just paste(ing)
user:- "KenKamau, fenring76, TFeld, ssfellows, jamsyl, Dima806, zatoichi49, thornejosh, mwk48, akar-0 (+ 7)"
Yeah, but you need a proof by induction to do that. Did you do one yourself or (like "plebs") take it from the internet?
Loading more items...