Solving Leetcode 1137. N-th Tribonacci Number

preview_player
Показать описание
Solving Leetcode 1137. N-th Tribonacci Number
In this video, I try to solve leetcode one by one and make a video for it
Please subscribe to my Channel

Please subscribe to my channel
My other leetcode solving videos:
Рекомендации по теме
Комментарии
Автор

we do we need if n <= 2 base case when i removed n <=2 and replaced it with n < 2 and changed the range in the loop from 2, n +1 it throws an error why does it do that ?

ryanmanchikanti