← All problems
Easy · 1-D Dynamic Programming

N-th Tribonacci Number

Compute the nth value of the three-term recurrence starting 0, 1, 1.

Full problem and submission ↗
main.js

Console

Ready