Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 1137.c #1417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

shivamdroidoreo
Copy link

Explanation of Changes:
Loop starting from i = 3:
This matches the idea that Tribonacci starts at n = 3 for the iterative part. It loops until i = n, making it more aligned with the index you are calculating.
Renaming nextT to nextTerm:
This improves code readability by being more descriptive.

Notes: <The overall structure of the program is unchanged, but the slight improvements make the code easier to understand and maintain.>

@github-actions github-actions bot added the Leetcode folder changes Changes to Leetcode folder. Known CI issues. label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Leetcode folder changes Changes to Leetcode folder. Known CI issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant