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.
Fixed
Possibilities to get
happ
using the first 6 letters:[h]h[a]a[pp]...
[h]ha[a][pp]...
h[h][a]a[pp]...
h[h]a[a][pp]...
The amount of possibilities on the right side is 512.
So, total is
512 * 4 = 2048
.Javascript update fork
Auto-approved after elapsed grace-period.
Rust translation for your consideration
yeah, that was required at some point in the past, to get access to the edit panel of the kata (an issue had to be raised for more than 7 days). Nowadays, the fork thing allow to modify the kata "directly" (considering time)
Ok, sure. I just see power users raise framework updates as an issue all the time, thought it was appropriate.
(note for further use: if it's only about the framework update, you a suggestion is enough)
.
Random tests in Javascript have the same issues as random tests in Python, and are A LOT less intensive.
.
In Python, the initial solution should have more descriptive parameter names:
a
andb
are completely useless. Without looking at the tests and doing some "common sense" analysis, I have no way of knowing which is which.The parameters should be called
needle
andhaystack
, just like the description uses.My code actually passes all tests except two. I understand the expected result for only one these two. Maybe someone could point me into the right direction of how to get to the result of
2533968
if the 'needle' ishappy birthday
and the 'haystack' ishhhappyyyy biirrrrrthddaaaayyyyyyy to youuuu hhapppyyyy biirtttthdaaay too youuu happy birrrthdayy to youuu happpyyyy birrtthdaaay tooooo youu
. Thank you in advance!.
Loading more items...