For the complete documentation index, see llms.txt. This page is also available as Markdown.

N-th Tribonacci Number

ID: 1137; easy

Solution 1

This is the same bottom-up approach used in Fibonacci Number. The only difference here is that we use 4 variables to keep the results.

Last updated