René's URL Explorer Experiment


Title: Changed implementation of slope calculation by Haarush2006 · Pull Request #1847 · TheAlgorithms/JavaScript · GitHub

Open Graph Title: Changed implementation of slope calculation by Haarush2006 · Pull Request #1847 · TheAlgorithms/JavaScript

X Title: Changed implementation of slope calculation by Haarush2006 · Pull Request #1847 · TheAlgorithms/JavaScript

Description: Fix/ Changed implementation of slope calculation Added cross product logic instead of math slope formula fixes #1815 Fix a bug or typo in an existing algorithm? Checklist: I have read CONTRIBUTING.md. This pull request is all my own work -- I have not plagiarized. I know that pull requests will not be merged if they fail the automated tests. This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms. All new JavaScript files are placed inside an existing directory. All filenames should use the UpperCamelCase (PascalCase) style. There should be no spaces in filenames. Example:UserProfile.js is allowed but userprofile.js,Userprofile.js,user-Profile.js,userProfile.js are not All new algorithms have a URL in their comments that points to Wikipedia or another similar explanation. If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

Open Graph Description: Fix/ Changed implementation of slope calculation Added cross product logic instead of math slope formula fixes #1815 Fix a bug or typo in an existing algorithm? Checklist: I have read CONTRIBU...

X Description: Fix/ Changed implementation of slope calculation Added cross product logic instead of math slope formula fixes #1815 Fix a bug or typo in an existing algorithm? Checklist: I have read CONTRIBU...

Opengraph URL: https://github.com/TheAlgorithms/JavaScript/pull/1847

X: @github

direct link

Domain: redirect.github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b917a201-fb24-8f76-8d77-899a5ef8e3f8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC39C:164E7F:28B67FA:359E3D2:696B285A
html-safe-nonce0d3aa67a78a34753dc2f5f6935c3c52570356dd13755500faab3e3a9bd432da1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzlDOjE2NEU3RjoyOEI2N0ZBOjM1OUUzRDI6Njk2QjI4NUEiLCJ2aXNpdG9yX2lkIjoiNTY3Mzc5Njg2NjYwMDAyMDA1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfab661294cd543e95339679291ea2baf45e48652494c6bc8c7f33715a7997aff
hovercard-subject-tagpull_request:2940622142
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/TheAlgorithms/JavaScript/pull/1847/files
twitter:imagehttps://avatars.githubusercontent.com/u/150175029?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/150175029?s=400&v=4
og:image:altFix/ Changed implementation of slope calculation Added cross product logic instead of math slope formula fixes #1815 Fix a bug or typo in an existing algorithm? Checklist: I have read CONTRIBU...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/TheAlgorithms/JavaScript git https://github.com/TheAlgorithms/JavaScript.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id97086543
octolytics-dimension-repository_nwoTheAlgorithms/JavaScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id97086543
octolytics-dimension-repository_network_root_nwoTheAlgorithms/JavaScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJavaScript%2Fpull%2F1847%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJavaScript%2Fpull%2F1847%2Ffiles
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=TheAlgorithms%2FJavaScript
Reloadhttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Reloadhttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Reloadhttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
TheAlgorithms https://redirect.github.com/TheAlgorithms
JavaScripthttps://redirect.github.com/TheAlgorithms/JavaScript
Please reload this pagehttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Notifications https://redirect.github.com/login?return_to=%2FTheAlgorithms%2FJavaScript
Fork 5.8k https://redirect.github.com/login?return_to=%2FTheAlgorithms%2FJavaScript
Star 34k https://redirect.github.com/login?return_to=%2FTheAlgorithms%2FJavaScript
Code https://redirect.github.com/TheAlgorithms/JavaScript
Issues 21 https://redirect.github.com/TheAlgorithms/JavaScript/issues
Pull requests 167 https://redirect.github.com/TheAlgorithms/JavaScript/pulls
Actions https://redirect.github.com/TheAlgorithms/JavaScript/actions
Projects 0 https://redirect.github.com/TheAlgorithms/JavaScript/projects
Wiki https://redirect.github.com/TheAlgorithms/JavaScript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://redirect.github.com/TheAlgorithms/JavaScript/security
Please reload this pagehttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Insights https://redirect.github.com/TheAlgorithms/JavaScript/pulse
Code https://redirect.github.com/TheAlgorithms/JavaScript
Issues https://redirect.github.com/TheAlgorithms/JavaScript/issues
Pull requests https://redirect.github.com/TheAlgorithms/JavaScript/pulls
Actions https://redirect.github.com/TheAlgorithms/JavaScript/actions
Projects https://redirect.github.com/TheAlgorithms/JavaScript/projects
Wiki https://redirect.github.com/TheAlgorithms/JavaScript/wiki
Security https://redirect.github.com/TheAlgorithms/JavaScript/security
Insights https://redirect.github.com/TheAlgorithms/JavaScript/pulse
Sign up for GitHub https://redirect.github.com/signup?return_to=%2FTheAlgorithms%2FJavaScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2FTheAlgorithms%2FJavaScript%2Fissues%2Fnew%2Fchoose
Haarush2006https://redirect.github.com/Haarush2006
TheAlgorithms:masterhttps://redirect.github.com/TheAlgorithms/JavaScript/tree/master
Haarush2006:fix/DivisionByZerohttps://redirect.github.com/Haarush2006/JavaScript/tree/fix/DivisionByZero
Conversation 2 https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847
Commits 2 https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/commits
Checks 3 https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/checks
Files changed https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Please reload this pagehttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Changed implementation of slope calculation https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files#top
Show all changes 2 commits https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
36e2b16 Changed implementation of slope calculation Haarush2006 Oct 23, 2025 https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/commits/36e2b1626f94d8cca5fd2d338ace8cbbd3be9dd6
914e525 ran prettier Haarush2006 Oct 23, 2025 https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/commits/914e52552310722a240832b827b3b4b19b5ac841
Clear filters https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Please reload this pagehttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
Please reload this pagehttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files
https://redirect.github.com/TheAlgorithms/JavaScript/blob/master/.github/CODEOWNERS#L1
Geometry/ConvexHullGraham.jshttps://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files#diff-003d23eb535bf550491770e59ffd07b5980b0fb8917cc0fb36af3f8209161f37
View file https://redirect.github.com/TheAlgorithms/JavaScript/blob/914e52552310722a240832b827b3b4b19b5ac841/Geometry/ConvexHullGraham.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/{{ revealButtonHref }}
https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files#diff-003d23eb535bf550491770e59ffd07b5980b0fb8917cc0fb36af3f8209161f37
https://redirect.github.com/TheAlgorithms/JavaScript/pull/1847/files#diff-003d23eb535bf550491770e59ffd07b5980b0fb8917cc0fb36af3f8209161f37
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.