| 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/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:dec4434c-b4a4-4a89-7fb0-bf3458c712b5 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | C224:742B8:C04A2:1052C0:6AFCA691 |
| html-safe-nonce | 2c9885cbfbacad1872073daad4987d78a710d16093c393f78bf83a07df2fe968 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjI0Ojc0MkI4OkMwNEEyOjEwNTJDMDo2QUZDQTY5MSIsInZpc2l0b3JfaWQiOiI2NTk1MzgwNDg5MDkzOTQ5MDczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c7b9c8c67debe4f44ccba488e3bd298747dc038c72787cba1634cc7b452e1ee7 |
| hovercard-subject-tag | repository:271780170 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures/queue |
| twitter:image | https://opengraph.githubassets.com/8f23a3db5561fa2041df65aa2b85300c14a23c4e620483b178271fb4d69bb9d6/IcodeNet/javascript-algorithms |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f23a3db5561fa2041df65aa2b85300c14a23c4e620483b178271fb4d69bb9d6/IcodeNet/javascript-algorithms |
| og:image:alt | 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings - History for src/data-structures/queue - IcodeNet/javascript-algorithms |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-cache |
| go-import | github.com/IcodeNet/javascript-algorithms git https://github.com/IcodeNet/javascript-algorithms.git |
| octolytics-dimension-user_id | 991694 |
| octolytics-dimension-user_login | IcodeNet |
| octolytics-dimension-repository_id | 271780170 |
| octolytics-dimension-repository_nwo | IcodeNet/javascript-algorithms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 126577260 |
| octolytics-dimension-repository_parent_nwo | trekhleb/javascript-algorithms |
| octolytics-dimension-repository_network_root_id | 126577260 |
| octolytics-dimension-repository_network_root_nwo | trekhleb/javascript-algorithms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures/queue#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIcodeNet%2Fjavascript-algorithms%2Fcommits%2Fmaster%2Fsrc%2Fdata-structures%2Fqueue |
| 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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIcodeNet%2Fjavascript-algorithms%2Fcommits%2Fmaster%2Fsrc%2Fdata-structures%2Fqueue |
| 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%2Fcommits%2Fshow&source=header-repo&source_repo=IcodeNet%2Fjavascript-algorithms |
| Reload | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures/queue |
| Reload | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures/queue |
| Reload | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures/queue |
| IcodeNet | https://redirect.github.com/IcodeNet |
| javascript-algorithms | https://redirect.github.com/IcodeNet/javascript-algorithms |
| Code | https://redirect.github.com/IcodeNet/javascript-algorithms |
| Pull requests | https://redirect.github.com/IcodeNet/javascript-algorithms/pulls |
| Actions | https://redirect.github.com/IcodeNet/javascript-algorithms/actions |
| Projects | https://redirect.github.com/IcodeNet/javascript-algorithms/projects |
| Security and quality | https://redirect.github.com/IcodeNet/javascript-algorithms/security |
| Insights | https://redirect.github.com/IcodeNet/javascript-algorithms/pulse |
| https://redirect.github.com/IcodeNet/javascript-algorithms |
| javascript-algorithms | https://redirect.github.com/IcodeNet/javascript-algorithms/commits |
| src | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src |
| data-structures | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures |
| queue | https://redirect.github.com/IcodeNet/javascript-algorithms/commits/master/src/data-structures/queue |
| master | https://redirect.github.com/IcodeNet/javascript-algorithms/tree/master |
| pt-BR translations fixes. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/e954d6d0f3916722b77dd7c092095830a904c616 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| e954d6d | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/e954d6d0f3916722b77dd7c092095830a904c616 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/e954d6d0f3916722b77dd7c092095830a904c616/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/e954d6d0f3916722b77dd7c092095830a904c616 |
| Adds Portuguese (pt-BR) translation (#340) | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/ed99f9d216070d48194af2da870448a4767e818a |
| themgoncalves | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=themgoncalves |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| ed99f9d | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/ed99f9d216070d48194af2da870448a4767e818a |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/ed99f9d216070d48194af2da870448a4767e818a/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/ed99f9d216070d48194af2da870448a4767e818a |
| Add Japanese translation (#1) (#337) | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/2632a3a683617269ef32b79639b89c3f8e3f18e3 |
| nari0shota | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=nari0shota |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 2632a3a | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/2632a3a683617269ef32b79639b89c3f8e3f18e3 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/2632a3a683617269ef32b79639b89c3f8e3f18e3/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/2632a3a683617269ef32b79639b89c3f8e3f18e3 |
| Translate Queue into Russian. (#278) | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/9e7ef3680a9ffc048febc095b4b67ce38a5ba2cb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 9e7ef36 | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/9e7ef3680a9ffc048febc095b4b67ce38a5ba2cb |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/9e7ef3680a9ffc048febc095b4b67ce38a5ba2cb/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/9e7ef3680a9ffc048febc095b4b67ce38a5ba2cb |
| clarify comments (#193) | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/6b0bacd9934495b2cd0b3199216f029c9ebbb96a |
| appleJax | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=appleJax |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 6b0bacd | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/6b0bacd9934495b2cd0b3199216f029c9ebbb96a |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/6b0bacd9934495b2cd0b3199216f029c9ebbb96a/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/6b0bacd9934495b2cd0b3199216f029c9ebbb96a |
| Partial translation of Simplified Chinese (#185) | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/872521fb03b0ad699393e9e60271f6b18e6eb22b |
| suifengtec | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=suifengtec |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 872521f | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/872521fb03b0ad699393e9e60271f6b18e6eb22b |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/872521fb03b0ad699393e9e60271f6b18e6eb22b/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/872521fb03b0ad699393e9e60271f6b18e6eb22b |
| Add comments to Queue class. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/5a57c5f018d606b5c9ba40e8175e1ce854f30fa5 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 5a57c5f | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/5a57c5f018d606b5c9ba40e8175e1ce854f30fa5 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/5a57c5f018d606b5c9ba40e8175e1ce854f30fa5/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/5a57c5f018d606b5c9ba40e8175e1ce854f30fa5 |
| Add annotations to Queue. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/5eea37837f1e7f7b0160fe2f50c48298555d4465 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 5eea378 | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/5eea37837f1e7f7b0160fe2f50c48298555d4465 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/5eea37837f1e7f7b0160fe2f50c48298555d4465/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/5eea37837f1e7f7b0160fe2f50c48298555d4465 |
| Minor README updates. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/6e897a0a7ae5e3b5284f0e15b931e15b045de2f1 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 6e897a0 | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/6e897a0a7ae5e3b5284f0e15b931e15b045de2f1 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/6e897a0a7ae5e3b5284f0e15b931e15b045de2f1/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/6e897a0a7ae5e3b5284f0e15b931e15b045de2f1 |
| Avoid using toBeTruthy() and toBeFalsy() because of type coercion. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/39acb2b65d08f9103def6caa85f06e76dd636e7c |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 39acb2b | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/39acb2b65d08f9103def6caa85f06e76dd636e7c |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/39acb2b65d08f9103def6caa85f06e76dd636e7c/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/39acb2b65d08f9103def6caa85f06e76dd636e7c |
| Update READMEs. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/ef72e2de793c63e64f31d84cc7d352595502900b |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| ef72e2d | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/ef72e2de793c63e64f31d84cc7d352595502900b |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/ef72e2de793c63e64f31d84cc7d352595502900b/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/ef72e2de793c63e64f31d84cc7d352595502900b |
| Add README. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/248f1bc3a82823571ed41a8f9e6b21f3263d8b7d |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 248f1bc | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/248f1bc3a82823571ed41a8f9e6b21f3263d8b7d |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/248f1bc3a82823571ed41a8f9e6b21f3263d8b7d/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/248f1bc3a82823571ed41a8f9e6b21f3263d8b7d |
| Make it possible to add objects to LinkedList. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/8c46dbfb6d2324b4d738dc8afc8a16125be7b947 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 8c46dbf | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/8c46dbfb6d2324b4d738dc8afc8a16125be7b947 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/8c46dbfb6d2324b4d738dc8afc8a16125be7b947/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/8c46dbfb6d2324b4d738dc8afc8a16125be7b947 |
| More tests. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/f5ae2360f2de742100e07496a9526a8b04f81d45 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| f5ae236 | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/f5ae2360f2de742100e07496a9526a8b04f81d45 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/f5ae2360f2de742100e07496a9526a8b04f81d45/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/f5ae2360f2de742100e07496a9526a8b04f81d45 |
| Cleanup. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/86a4069e262675491417904dfa123209dac73cf0 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 86a4069 | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/86a4069e262675491417904dfa123209dac73cf0 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/86a4069e262675491417904dfa123209dac73cf0/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/86a4069e262675491417904dfa123209dac73cf0 |
| Add Stack. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/8da675452333c2a50d93729d8e1b0214c50eaaac |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| 8da6754 | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/8da675452333c2a50d93729d8e1b0214c50eaaac |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/8da675452333c2a50d93729d8e1b0214c50eaaac/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/8da675452333c2a50d93729d8e1b0214c50eaaac |
| Add Queue. | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/c8bfe9ffaa40d0250871ac2e3517633c3582c1a3 |
| https://redirect.github.com/trekhleb |
| trekhleb | https://redirect.github.com/IcodeNet/javascript-algorithms/commits?author=trekhleb |
| c8bfe9f | https://redirect.github.com/IcodeNet/javascript-algorithms/commit/c8bfe9ffaa40d0250871ac2e3517633c3582c1a3 |
| https://redirect.github.com/IcodeNet/javascript-algorithms/blob/c8bfe9ffaa40d0250871ac2e3517633c3582c1a3/src/data-structures/queue |
| https://redirect.github.com/IcodeNet/javascript-algorithms/tree/c8bfe9ffaa40d0250871ac2e3517633c3582c1a3 |
|
| 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 |