Nth Tribonacci Number Leetcode Javascript Questions W3schools