sasajuric

sasajuric

Author of Elixir In Action

I pushed the fix for my solution. As I suspected, the algorithm for identifying infinite regions was wrong, so in some situations my code included some infinite regions when looking for the maximum one. The new version now returns 3251 for your input, while the result for my input remains unchanged. I guess I was lucky here to get an input which didn’t trigger the bug in my code.

2
Post #31
theshank

theshank

Thanks, I will go through it.

0
Post #32
theshank

theshank

Super readable code ! Thanks for sharing !

1
Post #33
— All posts loaded —