[OTHER] #191

Closed
opened 2026-01-29 15:08:01 +00:00 by claunia · 3 comments
Owner

Originally created by @shivamdroidoreo on GitHub (Oct 2, 2024).

What would you like to share?

Potential Improvements:
Loop Start Index: In the loop, i starts from 0 and runs for n - 2 iterations. This works but can be slightly optimized by starting the loop from i = 3 and running until i <= n. This way, the loop becomes more intuitive as it directly matches the Tribonacci sequence progression.

Variable Naming: nextT could be renamed to something more descriptive, like nextTerm, to indicate that it is the next Tribonacci number.

Additional information

No response

Originally created by @shivamdroidoreo on GitHub (Oct 2, 2024). ### What would you like to share? Potential Improvements: Loop Start Index: In the loop, i starts from 0 and runs for n - 2 iterations. This works but can be slightly optimized by starting the loop from i = 3 and running until i <= n. This way, the loop becomes more intuitive as it directly matches the Tribonacci sequence progression. Variable Naming: nextT could be renamed to something more descriptive, like nextTerm, to indicate that it is the next Tribonacci number. ### Additional information _No response_
claunia added the Stale label 2026-01-29 15:08:01 +00:00
Author
Owner

@VyankateshRohokale commented on GitHub (Oct 8, 2024):

can you provide more information for me to work on it

@VyankateshRohokale commented on GitHub (Oct 8, 2024): can you provide more information for me to work on it
Author
Owner

@github-actions[bot] commented on GitHub (Nov 8, 2024):

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions[bot] commented on GitHub (Nov 8, 2024): This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 15, 2024):

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!

@github-actions[bot] commented on GitHub (Nov 15, 2024): Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our [Gitter](https://gitter.im/TheAlgorithms) channel or our [Discord server](https://the-algorithms.com/discord/). Thank you for your contributions!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#191