• trashy_incelcommented on "Maximum Subarray Sum II" kata

maybe it would be better to forbid contiguous opposite values in the inputs

the issue is worse than that:

`[5, -3, 1, 2, -4, 1, 3, 0]; max_sum = 5`

expected answer:
`[ [ [5], [5, -3, 1, 2], [5, -3, 1, 2, -4, 1, 3], [5, -3, 1, 2, -4, 1, 3, 0] ], 5 ]`

the contiguous opposites are just a particular case of the more general problem: the tests count the subsequences that have prefixes/suffixes that sum to `0` as valid. the easiest thing to do would be to make that more clear in the description

• uttumuttucommented on "Chain Reaction - Minimum Bombs Needed (Extreme Version)" kata

Non-spoilered comment for notification.

yes

• heliosantoscommented on "Chain Reaction - Minimum Bombs Needed (Extreme Version)" kata

Same here. Is the only way using non-recursive algorithms?

• Michael Lessardcommented on "If you can't sleep, just count sheep!!" python solution

ohhh good to know! ty very much

• Blind4Basicscommented on "If you can't sleep, just count sheep!!" python solution

This comment is hidden because it contains spoiler information about the solution

• Michael Lessardcommented on "If you can't sleep, just count sheep!!" python solution

quick question for anyone who sees this.
if you check my solution would it be similar/faster/slower as i dont use a for loop i only directly use the range to generate my list of numbers.
(just trying to learn about code complexity/process speed of different methods of coding)

• NoLifeForBullshitcommented on "Training JS #7: if..else and ternary operator" python solution

Bruhhh genius!!!

Fixed.

• Blind4Basicsresolved an issue on "Full Metal Chemist #1: build me..." kata

...?

again, this is not a kata issue.

• cerealCodecreated an issue for "Full Metal Chemist #1: build me..." kata

I keep getting this error when running it, any idea why?

Server Execution Error: File Name Conflict: solution and preloaded Request Error: Request failed with status code 422 Please fix the issue and try again.

• cerealCodecommented on "Full Metal Chemist #1: build me..." kata

Thanks, I bumped into it last week, and I refactored the whole code, but still the same :(

• Blind4Basicscommented on "Full Metal Chemist #1: build me..." kata

that's an error occurring frequently with cw itself, recently. It's independent from the Kata and you cannot do anything about it. You'll have to wait...

• cerealCodecommented on "Full Metal Chemist #1: build me..." kata

I keep getting this error when running it, any idea why?

Server Execution Error:
File Name Conflict: solution and preloaded
Request Error:
Request failed with status code 422
Please fix the issue and try again.

• AbdallahSiyabicommented on "Alternate Square Sum" python solution

This comment is hidden because it contains spoiler information about the solution