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

Fix incorrect descriptions of asymptotic notations #7929

Merged

Conversation

fuchenshi
Copy link
Contributor

It seems that the current descriptions of the Big O and Big Omega notations reflect a common misconception that they correspond to the worst and best cases of an algorithm. Based on what I've learned from my research, every algorithm can have its best case, worst case, and average case runtimes, and each of these runtimes can be represented by a function. The growth rate of such a function can be constrained by upper and lower bounds, and these bounds are what the Big O and Big Omega notations represent.

This PR rewrites the descriptions of the different asymptotic notations based on the above understanding, while adding a new article that provides a thorough explanation of these concepts. Please feel free to share your views on the changes.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Warm regards and welcome! Thank you for your first ever contribution to Roadmap.sh!

We appreciate your effort and enthusiasm. Before diving in, we kindly ask you to take a moment to go through our Contribution Guidelines 📘 to ensure your contribution aligns with the project's standards and goals.

If you are fixing a bug, please reference the associated issue number in your pull request description. 🐛

If you're working on a new feature, feel free to check with the community on discord to ensure the feature will be accepted. Also, kindly refrain pinging the maintainer(s). 🚀

Thanks for choosing to contribute, and for making this project better! 🌟

@fuchenshi fuchenshi force-pushed the fix-asymptotic-notations branch from f2846c2 to 31f501b Compare December 23, 2024 23:37
@fuchenshi fuchenshi force-pushed the fix-asymptotic-notations branch from 31f501b to c20e739 Compare December 30, 2024 01:44
@arikchakma arikchakma merged commit 5fbec97 into kamranahmedse:master Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants