This challenge provided a refreshing and intellectually rewarding experience. It offered a unique opportunity to explore tree factorization through a more thoughtful and clever approach, rather than relying solely on standard best practices.
I sincerely appreciate the effort and creativity that went into designing this kata. It encouraged not just algorithmic thinking, but also a deeper consideration of elegant problem-solving strategies—something I value highly in both learning and teaching.
Thank you for the opportunity to engage with such a well-crafted problem.
this is very helpful thank you
i was on the right track. i will never give up
Reflections on the Challenge
This challenge provided a refreshing and intellectually rewarding experience. It offered a unique opportunity to explore tree factorization through a more thoughtful and clever approach, rather than relying solely on standard best practices.
I sincerely appreciate the effort and creativity that went into designing this kata. It encouraged not just algorithmic thinking, but also a deeper consideration of elegant problem-solving strategies—something I value highly in both learning and teaching.
Thank you for the opportunity to engage with such a well-crafted problem.
If you're referring to the second sample test, the input is
sc301s
, the expected return value isc0s3s1
, your current code returnss1cs30
strng='c0s3s1'
array=[4,0,3,1,5,2]
"c"=4
"0"=0
"s"=3
"3"=1
"s"=5
"1"=2
result=031scs
Ruby:
random tests should not have a fixed length of 10 for both string and array
Groovy Translation
Fair enough. I completely overlooked that
From the kata's description:
Not a kata issue.
One of the weird sample tests uses 1 and expects 1, not -1-.
1 is an odd number and so the test should have dashes
Edit: forgot to mention this is the JavaScript version
for Java, I change parameter in function from int to long. There is a test where num = -2147483648
Approved
Approved
C translation (author gone)
Nice Kata
Loading more items...