Are you sure you are generating the correct permutations? Even though it is only 3 numbers, generating permutations can get tricky. You can check the doc for the built-in permutation, you might even find something else that is helpful.
Like other 3 kyu kata, this problem requires that you start to dig a little deep into algorithmic and performance optimization.
I haven't solved this particular exercise myself, but I've implemented Conway's Game of Life before and done some performance tuing. I found Chapter 17 and Chapter 18 of Michael Abrash's Graphics Programmer's Black Book to be helpful.
I had to Google what LGTM stood for hahaha :-)
Are you sure you are generating the correct permutations? Even though it is only 3 numbers, generating permutations can get tricky. You can check the doc for the built-in permutation, you might even find something else that is helpful.
Like other 3 kyu kata, this problem requires that you start to dig a little deep into algorithmic and performance optimization.
I haven't solved this particular exercise myself, but I've implemented Conway's Game of Life before and done some performance tuing. I found Chapter 17 and Chapter 18 of Michael Abrash's Graphics Programmer's Black Book to be helpful.
Which input values are in this test case?
Are you taking into account the fact that c is not always the largest side?