| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0bc77c9d-6db8-6913-af96-b74a11416946 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9774:1EFF:330A86:444EF4:6B01D755 |
| html-safe-nonce | 9c546cdd869c6f1800dd1e82dc2370b4b7a3653c20512c9c102b5219bda8a319 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzc0OjFFRkY6MzMwQTg2OjQ0NEVGNDo2QjAxRDc1NSIsInZpc2l0b3JfaWQiOiI5MTM1NTI1NDUzMzQyMjk5OTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3228aa94127465c6af058d88bc0b147f2572164cd1c9ae2942984c5c999881e8 |
| hovercard-subject-tag | pull_request:5270947063 |
| 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/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| twitter:image | https://avatars.githubusercontent.com/u/354872792?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/354872792?s=400&v=4 |
| og:image:alt | Description
Added executable JSDoc worked example documentation and matching test suite for BinaryHeap in Data-Structures/Heap/BinaryHeap.js, detailing intermediate state transitions (bubble-up and... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/S-AI-Projects/TheAlgorithms-JavaScript git https://github.com/S-AI-Projects/TheAlgorithms-JavaScript.git |
| octolytics-dimension-user_id | 351892385 |
| octolytics-dimension-user_login | S-AI-Projects |
| octolytics-dimension-repository_id | 1444142713 |
| octolytics-dimension-repository_nwo | S-AI-Projects/TheAlgorithms-JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 97086543 |
| octolytics-dimension-repository_parent_nwo | TheAlgorithms/JavaScript |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-JavaScript%2Fpull%2F65%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-JavaScript%2Fpull%2F65%2Ffiles |
| Sign up | https://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=S-AI-Projects%2FTheAlgorithms-JavaScript |
| Reload | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| Reload | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| Reload | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| S-AI-Projects | https://github.com/S-AI-Projects |
| TheAlgorithms-JavaScript | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript |
| Code | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript |
| Issues50 (50) | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/issues |
| Pull requests30 (30) | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pulls |
| Actions | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/actions |
| Projects | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/projects |
| Security and quality | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/security |
| Insights | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FS-AI-Projects%2FTheAlgorithms-JavaScript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FS-AI-Projects%2FTheAlgorithms-JavaScript%2Fissues%2Fnew%2Fchoose |
| 9808Tarun | https://github.com/9808Tarun |
| S-AI-Projects:master | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/tree/master |
| 9808Tarun:student/e26b07f0633/R50-T027 | https://github.com/9808Tarun/TheAlgorithms-JavaScript/tree/student/e26b07f0633/R50-T027 |
|
Conversation
0
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65 |
|
Commits
1
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/commits |
|
Checks
0
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/checks |
|
Files changed
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| Please reload this page | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
|
docs: add executable worked example for BinaryHeap (Issue #27)
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#top |
|
Show all changes
1 commit
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
|
6ef0860
docs: add executable worked example for BinaryHeap (Issue #27)
Nov 11, 2026
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/commits/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b |
|
Clear filters
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| Please reload this page | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
| Please reload this page | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files |
|
BinaryHeap.js
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-d3e22326e107593086ef86917fc1ce869647131e15f5ad5ff466d682db437908 |
|
BinaryHeap.test.js
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-fe546940f76990780713239000e21b2feafb788c5c8b626515c4489619038874 |
|
check.py
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-7147abb026a03d8682052614d26ac59076fe9cce2f3565e299d846206ce38ba0 |
|
fixture_results.json
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-0f9b03e4a83333cc1ccc964fd71da79ef2eb2544efc8467fe41c1fab9d38cc76 |
|
test_output.log
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-814a912d0fc3ba07b38a7b284b1402f49c8e5f3366862786b52c996ad75ae78b |
|
versions.json
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-f0f7460acf4f3cc12f8f075df58c67711338b1ae653ccdb1d8b1f81df58e5f6b |
| Data-Structures/Heap/BinaryHeap.js | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-d3e22326e107593086ef86917fc1ce869647131e15f5ad5ff466d682db437908 |
|
View file
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b/Data-Structures/Heap/BinaryHeap.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/{{ revealButtonHref }} |
|
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-d3e22326e107593086ef86917fc1ce869647131e15f5ad5ff466d682db437908 |
|
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-d3e22326e107593086ef86917fc1ce869647131e15f5ad5ff466d682db437908 |
| Data-Structures/Heap/test/BinaryHeap.test.js | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-fe546940f76990780713239000e21b2feafb788c5c8b626515c4489619038874 |
|
View file
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b/Data-Structures/Heap/test/BinaryHeap.test.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/{{ revealButtonHref }} |
| work/R50-T027/check.py | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-7147abb026a03d8682052614d26ac59076fe9cce2f3565e299d846206ce38ba0 |
|
View file
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b/work/R50-T027/check.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/{{ revealButtonHref }} |
| work/R50-T027/fixture_results.json | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-0f9b03e4a83333cc1ccc964fd71da79ef2eb2544efc8467fe41c1fab9d38cc76 |
|
View file
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b/work/R50-T027/fixture_results.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/{{ revealButtonHref }} |
| work/R50-T027/test_output.log | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-814a912d0fc3ba07b38a7b284b1402f49c8e5f3366862786b52c996ad75ae78b |
|
View file
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b/work/R50-T027/test_output.log |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/{{ revealButtonHref }} |
| work/R50-T027/versions.json | https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/files#diff-f0f7460acf4f3cc12f8f075df58c67711338b1ae653ccdb1d8b1f81df58e5f6b |
|
View file
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/blob/6ef0860b7934f2eeae6b1365b3d3f69f2389fd5b/work/R50-T027/versions.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/S-AI-Projects/TheAlgorithms-JavaScript/pull/65/{{ 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 |