codedecks-in / LeetCode-Solutions

This repository consists of solutions to the problem from LeetCode platform. Subscribe to our Channel for more updates
https://www.youtube.com/c/codedecks
MIT License
831 stars 419 forks source link

(1137) N-th Tribonacci Number.cpp #462

Closed Soumya6Tiwari closed 9 months ago

Soumya6Tiwari commented 1 year ago

Pull Request Template

kindly have a look at this solution that has been given ,and if you find it correct ,please merge it as this will be my first PR under Hacktoberfest 2023. And also please provide the Hacktoberfest accepted label.

Description

This is the solution for solving the problem number #1137 of Leetcode which is to find the nth tribonacci number. This question has been solved using recursion. This is an easy level question of Dynamic Programming solved with the help of Recursion.

Put check marks:

Have you made changes in README file ?

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

Make sure all below guidelines are followed else PR will get Reject: