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

[NEW ALGORITHM] Chan's Algorithm for Convex Hull #1681

Closed
V2VaibhavVerma opened this issue Nov 5, 2024 · 5 comments
Closed

[NEW ALGORITHM] Chan's Algorithm for Convex Hull #1681

V2VaibhavVerma opened this issue Nov 5, 2024 · 5 comments

Comments

@V2VaibhavVerma
Copy link

V2VaibhavVerma commented Nov 5, 2024

I propose adding Chan's Algorithm to the repository for computing the convex hull of a set of points in two-dimensional space. This algorithm utilizes a divide-and-conquer approach combined with the use of dynamic data structures, achieving an expected time complexity of (O(n \log h)), where (n) is the number of input points and (h) is the number of points in the convex hull. This implementation will provide a robust solution for users needing efficient convex hull computation, especially in applications involving computational geometry.
Screenshot 2024-11-09 100658

Key Features of Chan's Algorithm:

  • Efficient handling of large datasets.
  • Integration of dynamic data structures for better performance.
  • Improved time complexity compared to simpler algorithms like the gift-wrapping method.
    2

Proposed Implementation Details:

  • Implementation in C language.
  • Detailed comments and documentation for clarity.
  • Test cases to validate the algorithm against various input scenarios.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:
Contributor in GSSoC-ext
Want to work on it

Copy link

github-actions bot commented Nov 5, 2024

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!

@V2VaibhavVerma
Copy link
Author

@pankaj-bind Kindly review this algo, assign me this task under labels.

@pankaj-bind
Copy link
Member

assigned

@pankaj-bind
Copy link
Member

Raise your PR before 11:30PM otherwise, it will not considered in GSSOC-ext.

@pankaj-bind
Copy link
Member

Raise your PR 45 minutes left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants