have a question
of the tests is failing to me
is expecting 'zqdrhpviqslik', but I found 'karpscdigdvucfr', the word is "rkacypviuburk", but I cannot understand why my solution is wrong. I think "karpscdigdvucfr" is more similar to "rkacypviuburk".
What am I missing ?
what I get is this
supose you receive 'AAAB', then all posibilities are (always based on the letters)
AAAB = 1 AABA = 2 ABAA = 3 BAAA = 4
if you get 'ABAB', all posibilities are (if I don't miss anything)
AABB = 1 ABAB = 2 ABBA = 3 BAAB = 4 BABA = 5 BBAA = 6
and the task is to return the correct index
Hey guys, I have a question, the sample says ABAB = 2, but then how much should AABA return ?
oh, I get it, thanks for the tip
this is what I get from the test, not sure what the input value is
I get this in the random tests
expected:<[6[8902203007853440, 0, 2]]> but was:<[6[9022030078534408, 0, 17]]>
is there a way to know the original number based on the expected value ?
If I understood properly, the original number is 96802203007853440, but isn't in that case the smallest number 9680220300785344 ?
Loading collection data...
have a question
of the tests is failing to me
is expecting 'zqdrhpviqslik', but I found 'karpscdigdvucfr', the word is "rkacypviuburk",
but I cannot understand why my solution is wrong. I think "karpscdigdvucfr" is more similar to "rkacypviuburk".
What am I missing ?
what I get is this
supose you receive 'AAAB', then all posibilities are (always based on the letters)
AAAB = 1
AABA = 2
ABAA = 3
BAAA = 4
if you get 'ABAB', all posibilities are (if I don't miss anything)
AABB = 1
ABAB = 2
ABBA = 3
BAAB = 4
BABA = 5
BBAA = 6
and the task is to return the correct index
Hey guys, I have a question,
the sample says ABAB = 2, but then how much should AABA return ?
oh, I get it, thanks for the tip
this is what I get from the test, not sure what the input value is
I get this in the random tests
expected:<[6[8902203007853440, 0, 2]]> but was:<[6[9022030078534408, 0, 17]]>
is there a way to know the original number based on the expected value ?
If I understood properly, the original number is 96802203007853440, but isn't in that case the smallest number 9680220300785344 ?