It's not. I'm effectively modifying the inputs which is then tested against your code. Because I've modified the inputs, I'm able to pass the random tests and hardcode the sample tests. There's also the function function labyrinth(...) in the starter code still (double function keyword).
The beta process exists to resolve issues before potential approval. While my solution might be ridiculous to you, input modification of mutable objects is an issue. Anyways, if you stick around long enough on codewars, that and not having random tests come up a lot in beta testing.
I also fail so see the difference from single-case handling in the example solution. If the batch processing is a design choice, the example solution should showcase that difference.
That would make sense if the additional performance were actually required, and mapping individual modpows over the list would timeout. Is it, and does it?
Really really like your solution, Top readability
This comment is hidden because it contains spoiler information about the solution
You really think these input validations have added value?
This comment is hidden because it contains spoiler information about the solution
It's not. I'm effectively modifying the inputs which is then tested against your code. Because I've modified the inputs, I'm able to pass the random tests and hardcode the sample tests. There's also thefunction function labyrinth(...)
in the starter code still (doublefunction
keyword).If it's about invalid inputs, could you please perhaps check it now?
Not entirely fixed. We still have issues:
https://www.codewars.com/kata/reviews/68758c4e27434ab0b1f5d518/groups/687594793cfb3f47cf47c3b0
Can you check it now?
function
twice.
The input can be modified which impacts tests:
https://www.codewars.com/kata/reviews/687506e5adfbb3203aebe4b2/groups/6875135e3cfb3f47cf47b62a
The beta process exists to resolve issues before potential approval. While my solution might be ridiculous to you, input modification of mutable objects is an issue. Anyways, if you stick around long enough on codewars, that and not having random tests come up a lot in beta testing.
I also fail so see the difference from single-case handling in the example solution. If the batch processing is a design choice, the example solution should showcase that difference.
Duplicate of (at least) https://www.codewars.com/kata/52fe629e48970ad2bd0007e6
That would make sense if the additional performance were actually required, and mapping individual modpows over the list would timeout. Is it, and does it?
Loading more items...