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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:0998c342-8c42-ead3-9137-d87a1239e310 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C11A:22EDB8:1BF4233:2514EE2:696AF72B |
| html-safe-nonce | f81b6a68f0ae0badcc032f276a6b3d0ede448f617fb857228ac356da24436551 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTFBOjIyRURCODoxQkY0MjMzOjI1MTRFRTI6Njk2QUY3MkIiLCJ2aXNpdG9yX2lkIjoiMzgzNTA2Njc2MDk2ODIwNjEyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f919c73bb48fbf649436eb740c31695872f4f13143c33694aab2edd50a6fb0a |
| hovercard-subject-tag | pull_request:2940622142 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/JavaScript/pull/1847/checks |
| twitter:image | https://avatars.githubusercontent.com/u/150175029?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/150175029?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| go-import | github.com/TheAlgorithms/JavaScript git https://github.com/TheAlgorithms/JavaScript.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 97086543 |
| octolytics-dimension-repository_nwo | TheAlgorithms/JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 97086543 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/JavaScript |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width