Doable, but a tough one. More like 6 kyu.
This kata require more details description, an example from start to finish perhapse.
IMHO it shouln't be kyu 7 kata, in comparison to other kyu 7 this is simply hard
Thanks, fixed :)
In the sample tests, sample 3 and sample 4 are identical. Might want to fix that.
Thank you for your feedback. 👍
I was trying about half a hour without result, but then suddenly remembered about <solution_name>, good kata, thanks :)
<solution_name>
Well, I tried, it does works properly, what's the problem? :)
It doesn't work with non-ASCI strings. Try this:
Expect(IsPalindrome("топот")).To(Equal(true))
o_O
Yeah, I don't know why I didn't do it this way from the beginning. I fixed the kata, thanks
Indeed, I didn't noticed that initial code isn't mine, thanks
Why
Also you should process exception when there's no N-1 common letters "AbCD Abcd aBCd abcD" -> [""]
Expect(MinQuine("AbCD Abcd aBCd abcD")).To(Equal([]string{""}))
instead of just
Expect(MinQuine("AbCD Abcd aBCd abcD")).To(Equal([]string{}))
It's inconsistent to other results where all slots are strings of length N-1.
N-1
The current initial solution is the default one
package kata func TwoOldestAges(ages []int) [2]int { return [2]int{"", ""} }
You have to modify the signature to fit your tests, where MinQuine is expected.
MinQuine
Loading collection data...
Doable, but a tough one. More like 6 kyu.
This kata require more details description, an example from start to finish perhapse.
IMHO it shouln't be kyu 7 kata, in comparison to other kyu 7 this is simply hard
Thanks, fixed :)
In the sample tests, sample 3 and sample 4 are identical. Might want to fix that.
Thank you for your feedback. 👍
I was trying about half a hour without result, but then suddenly remembered about
<solution_name>
, good kata, thanks :)Well, I tried, it does works properly, what's the problem? :)
It doesn't work with non-ASCI strings.
Try this:
It doesn't work with non-ASCI strings.
Try this:
o_O
Yeah, I don't know why I didn't do it this way from the beginning. I fixed the kata, thanks
Indeed, I didn't noticed that initial code isn't mine, thanks
Why
instead of just
It's inconsistent to other results where all slots are strings of length
N-1
.The current initial solution is the default one
You have to modify the signature to fit your tests, where
MinQuine
is expected.Loading more items...