| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:acb3bad8-9a7e-0bb8-a3b6-adb7bcc94d2d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D92:1ADB68:7DBE79:A6B0A5:697162E3 |
| html-safe-nonce | 69fc69c59f4bc5eef4150ac9658d02ce52f6f1f501f15468b701e82ce289667e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDkyOjFBREI2ODo3REJFNzk6QTZCMEE1OjY5NzE2MkUzIiwidmlzaXRvcl9pZCI6IjI4NjgyNTQ4MjIxODE3MjQ5MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b1dbea466df590ff5e6c8a20682b2091579e58002d0f540c44c0d8ba0d8ef0ad |
| hovercard-subject-tag | pull_request:1541709196 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/JavaScript/pull/1431/files |
| twitter:image | https://avatars.githubusercontent.com/u/10632099?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10632099?s=400&v=4 |
| og:image:alt | know more
Describe your change:
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Documentation change?
Checklist:
I have read CONTRIBUTING.md.
This pull request is all my own ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 873364ab8c3892d45b3a7f6c012702ee84934662b47c9312d99f8b31dd9c2668 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fa6ed180534301da051f8e5cb00f3a1dfab789ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJavaScript%2Fpull%2F1431%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJavaScript%2Fpull%2F1431%2Ffiles |
|
Sign up
| https://patch-diff.githubusercontent.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 |
| Reload | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
| Reload | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
| Reload | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
|
TheAlgorithms
| https://patch-diff.githubusercontent.com/TheAlgorithms |
| JavaScript | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript |
|
Fork
5.8k
| https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript |
|
Star
34k
| https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript |
|
Code
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript |
|
Issues
21
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/issues |
|
Pull requests
167
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/security |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
|
Insights
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulse |
|
Code
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript |
|
Issues
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/actions |
|
Projects
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/wiki |
|
Security
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/security |
|
Insights
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2FTheAlgorithms%2FJavaScript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript%2Fissues%2Fnew%2Fchoose |
| chrdek | https://patch-diff.githubusercontent.com/chrdek |
| TheAlgorithms:master | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/tree/master |
| chrdek:master | https://patch-diff.githubusercontent.com/chrdek/JavaScriptPRs/tree/master |
|
Conversation
6
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431 |
|
Commits
20
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
|
feat: Hamming Code for 32bit values
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files#top |
|
Show all changes
20 commits
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
|
6e1e6e8
Added HammingCode.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/6e1e6e85f82c4fd04426e73ac4b10236b1a30923 |
|
27aa6c0
Tests for HammingCode.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/27aa6c0b11764f282768228fff2c815c8c71c76e |
|
060ee86
Delete Bit-Manipulation/HammingCode.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/060ee868bcbae926d394351aaf3b225ee0c5e4cf |
|
0c79609
feat: HammingCode for 32bit values
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/0c796096e7f673f706bd5ac3280df65ea0e172eb |
|
039a572
Update HammingCode.test.js (fixes for tests)
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/039a57245b7b109921d7503737cb7f067b58e377 |
|
d3b2f1c
Update HammingCode.test.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/d3b2f1cf4bddcd85159ac30855b19d91a8dfe2bb |
|
002038f
Update HammingCode.test.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/002038f255fbf9ac1fce7fba2bcb353a86ff6319 |
|
3bc23af
Update HammingCode.test.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/3bc23afee58760fa953ebd4eb77ddc63729c242b |
|
e081542
Update HammingCode.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/e08154226e257dde0e7ef01f7e45c8878c459540 |
|
cabbc71
Update HammingCode.test.js
chrdek Oct 4, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/cabbc71c300493fcd1f26e830d97e78493e87f61 |
|
5258492
Create TriangularNumberCheck.test.js
chrdek Oct 6, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/5258492c10d42e515cd788573261940bffbb6612 |
|
9539ec0
Create TriangularNumberCheck.js
chrdek Oct 6, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/9539ec046236b66c32bfc180446d46fedd456f27 |
|
934d81d
Update TriangularNumberCheck.js
chrdek Oct 6, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/934d81de65b7c94d3ca49aabebaf9606b3fc43f8 |
|
85dc4c6
Update TriangularNumberCheck.test.js
chrdek Oct 6, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/85dc4c6bd9cd3bec46295c6083556221617c3af7 |
|
a989afb
Delete Maths/TriangularNumberCheck.js
chrdek Oct 9, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/a989afbc08c9d1af6cbaeb171c20b37fb785f20c |
|
5fa4d6e
Delete Maths/test/TriangularNumberCheck.test.js
chrdek Oct 9, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/5fa4d6ef961a63e5403560eb3ad16406cdd910c8 |
|
a35ce8d
Create HammingWeight.js
chrdek Oct 9, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/a35ce8d8b18834d430c08269e78b97f96900ad4c |
|
7004544
Create HammingWeight.test.js
chrdek Oct 9, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/7004544f9f1727cc47fbc4c37f3556fc344fac74 |
|
a288dc8
Delete Bit-Manipulation/test/HammingCode.test.js
chrdek Oct 9, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/a288dc837799d731a6e229d7b522a40bd63c52d8 |
|
2f0fa72
Delete Bit-Manipulation/HammingCode.js
chrdek Oct 9, 2023
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/commits/2f0fa72abca30e82684bd8d6c0b37b2391e46011 |
|
Clear filters
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
| Please reload this page | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files |
|
HammingWeight.js
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files#diff-d97a78df48ae007bd325fb728dc5661b880294c24d5675cdb50b8b1de50a40b4 |
|
HammingWeight.test.js
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files#diff-1a144c10ab06fd5013ed46dfcbca0e01edd9925d2e162845e142815d3c0eac9b |
|
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/blob/master/.github/CODEOWNERS#L1 |
| Bit-Manipulation/HammingWeight.js | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files#diff-d97a78df48ae007bd325fb728dc5661b880294c24d5675cdb50b8b1de50a40b4 |
|
View file
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/blob/2f0fa72abca30e82684bd8d6c0b37b2391e46011/Bit-Manipulation/HammingWeight.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/blob/master/.github/CODEOWNERS#L1 |
| Bit-Manipulation/test/HammingWeight.test.js | https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/files#diff-1a144c10ab06fd5013ed46dfcbca0e01edd9925d2e162845e142815d3c0eac9b |
|
View file
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/blob/2f0fa72abca30e82684bd8d6c0b37b2391e46011/Bit-Manipulation/test/HammingWeight.test.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1431/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |