-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
Add Convex Hull in C #3958
Add Convex Hull in C #3958
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All output needs to match the project page. In general, all of the sample programs have a corresponding project page
See this for the test failures. |
Thanks! I have a good idea of how to navigate this now so I should be fine (I hope). I have a solution in place for all of the issues I was assigned, and I'm now refactoring and making sure it follows the project description to the letter. I don't want to start over so I suspect each PR will have 1 or 2 failures before going through. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are still failing. See this for details. Also, please review the project page again. The inputs are a list of X-coordinates and a list of Y-coordinates. The number of X- and Y-coordinates must be the same, and there must be at least 3 of them.
…Add checks for empty inputs, matching cardinality, and valid integers + Adjust output format to ensure correct line breaks for points
…t input validation for cases: no input, missing y, invalid shape, different cardinality, and invalid integers + Developed the Gift Wrapping algorithm to compute the convex hull + Ensure output format matches requirements for unit testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something about your parsing algorithm is incorrect since there are errors like Invalid Integers
for valid inputs. Please see this for details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parsing still isn't right. The usage error message is being shown for all the cases. See this
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@2Clutch I used your parsing from Binary Search to fix this.
I Am Adding a New Code Snippet in an Existing Language
Add {PROJECT} in {LANGUAGE}
format