You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I explored the Dynamic programming ( thealgorithms/dynamicprogramming/ ) and wasn't able to find the standard problem of finding the n-th tribonacci number in the series. Would be better if you we could add those the repo.
Issue details
The problem involves dynamic programming to find nth tribonacci number and is a very standard problem.
I would like to Contribute to it as my first hacktoberfest Contribution. So can you pls assign it to me , I have The code ready.
problem link: https://leetcode.com/problems/n-th-tribonacci-number/description/
Additional Information
No response
The text was updated successfully, but these errors were encountered:
okaydivyansh
changed the title
[FEATURE REQUEST] Count the number of set bits missing in Bit Manipulation
[FEATURE REQUEST] Find the N-th Tribonacci Number missing
Oct 4, 2023
This PR introduces the `Tribonacci` class to the `dynamicprogramming` package. It implements an efficient method to compute the N-th number in the Tribonacci sequence as defined by the problem statement on LeetCode: https://leetcode.com/problems/n-th-tribonacci-number/description/.
## Changes Made
- Added `Tribonacci.java` with a static `compute` method.
- Included tests in `TribonacciTest.java`.
The `compute` method calculates the N-th Tribonacci number using an iterative approach with O(n) time complexity and O(1) space complexity, which is optimal for the constraints given.
Uh oh!
There was an error while loading. Please reload this page.
What would you like to Propose?
I explored the Dynamic programming ( thealgorithms/dynamicprogramming/ ) and wasn't able to find the standard problem of finding the n-th tribonacci number in the series. Would be better if you we could add those the repo.
Issue details
The problem involves dynamic programming to find nth tribonacci number and is a very standard problem.
I would like to Contribute to it as my first hacktoberfest Contribution. So can you pls assign it to me , I have The code ready.
problem link: https://leetcode.com/problems/n-th-tribonacci-number/description/
Additional Information
No response
The text was updated successfully, but these errors were encountered: