We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.

However still it is far from being perfect due to repeted computation of fatorials... there must be some way how to reuse computations from previous levels. I will try to find it on another day.

## Pascal's Triangle

You are viewing a single comment's thread. Return to all comments →

I found easier and cleaner solution. Probably also faster thanks to my "if".

However still it is far from being perfect due to repeted computation of fatorials... there must be some way how to reuse computations from previous levels. I will try to find it on another day.

Recursive way.