| 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/tree/*name(/*path) |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:6e43e07c-512a-4044-3152-99982cb1db19 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B63E:187C1E:CB829D:10D54A2:6B01C8C5 |
| html-safe-nonce | 32fa92f0e2ccb607fd5b0ceed735be0dbed4932e42c337e106fc895087d280b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjNFOjE4N0MxRTpDQjgyOUQ6MTBENTRBMjo2QjAxQzhDNSIsInZpc2l0b3JfaWQiOiI1OTIyNTQxNDQzNzYyNzM1MzAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f67f73e054bca059e219091f43887ffe411eb387eb61e340ecbba651e7cfa40d |
| hovercard-subject-tag | repository:88919407 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///files/disambiguate |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/originalix/algorithm/tree/refactor-use-interface |
| twitter:image | https://opengraph.githubassets.com/e9edc884128627205339b67f20449891529e985e2c08be56f80a7351e835e31c/originalix/algorithm |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9edc884128627205339b67f20449891529e985e2c08be56f80a7351e835e31c/originalix/algorithm |
| og:image:alt | 算法(第4版)TypeScript 实现. Contribute to originalix/algorithm development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/originalix/algorithm git https://github.com/originalix/algorithm.git |
| octolytics-dimension-user_id | 16911056 |
| octolytics-dimension-user_login | originalix |
| octolytics-dimension-repository_id | 88919407 |
| octolytics-dimension-repository_nwo | originalix/algorithm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 88919407 |
| octolytics-dimension-repository_network_root_nwo | originalix/algorithm |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/originalix/algorithm/tree/refactor-use-interface#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foriginalix%2Falgorithm%2Ftree%2Frefactor-use-interface |
| 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%2Foriginalix%2Falgorithm%2Ftree%2Frefactor-use-interface |
| 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%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=originalix%2Falgorithm |
| Reload | https://github.com/originalix/algorithm/tree/refactor-use-interface |
| Reload | https://github.com/originalix/algorithm/tree/refactor-use-interface |
| Reload | https://github.com/originalix/algorithm/tree/refactor-use-interface |
| originalix | https://github.com/originalix |
| algorithm | https://github.com/originalix/algorithm |
| Code | https://github.com/originalix/algorithm |
| Issues | https://github.com/originalix/algorithm/issues |
| Pull requests6 (6) | https://github.com/originalix/algorithm/pulls |
| Actions | https://github.com/originalix/algorithm/actions |
| Projects | https://github.com/originalix/algorithm/projects |
| Security and quality | https://github.com/originalix/algorithm/security |
| Insights | https://github.com/originalix/algorithm/pulse |
| https://github.com/originalix/algorithm |
| algorithm | https://github.com/originalix/algorithm |
| Notifications | https://github.com/login?return_to=%2Foriginalix%2Falgorithm |
| Fork2 (2) | https://github.com/login?return_to=%2Foriginalix%2Falgorithm |
| Star19 (19) | https://github.com/login?return_to=%2Foriginalix%2Falgorithm |
| algorithm | https://github.com/topics/algorithm |
| Readme | https://github.com/originalix/algorithm/tree/refactor-use-interface#readme-ov-file |
| Activity | https://github.com/originalix/algorithm/activity |
| 2 forks | https://github.com/originalix/algorithm/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Foriginalix%2Falgorithm&report=originalix+%28user%29 |
| Branches | https://github.com/originalix/algorithm/branches |
| Tags | https://github.com/originalix/algorithm/tags |
| https://github.com/originalix/algorithm/branches |
| https://github.com/originalix/algorithm/tags |
| 189 Commits | https://github.com/originalix/algorithm/commits/refactor-use-interface/ |
| https://github.com/originalix/algorithm/commits/refactor-use-interface/ |
| .vscode | https://github.com/originalix/algorithm/tree/refactor-use-interface/.vscode |
| .vscode | https://github.com/originalix/algorithm/tree/refactor-use-interface/.vscode |
| __test__ | https://github.com/originalix/algorithm/tree/refactor-use-interface/__test__ |
| __test__ | https://github.com/originalix/algorithm/tree/refactor-use-interface/__test__ |
| src | https://github.com/originalix/algorithm/tree/refactor-use-interface/src |
| src | https://github.com/originalix/algorithm/tree/refactor-use-interface/src |
| .editorconfig | https://github.com/originalix/algorithm/blob/refactor-use-interface/.editorconfig |
| .editorconfig | https://github.com/originalix/algorithm/blob/refactor-use-interface/.editorconfig |
| .eslintignore | https://github.com/originalix/algorithm/blob/refactor-use-interface/.eslintignore |
| .eslintignore | https://github.com/originalix/algorithm/blob/refactor-use-interface/.eslintignore |
| .eslintrc.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/.eslintrc.js |
| .eslintrc.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/.eslintrc.js |
| .gitignore | https://github.com/originalix/algorithm/blob/refactor-use-interface/.gitignore |
| .gitignore | https://github.com/originalix/algorithm/blob/refactor-use-interface/.gitignore |
| .prettierrc.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/.prettierrc.js |
| .prettierrc.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/.prettierrc.js |
| README.md | https://github.com/originalix/algorithm/blob/refactor-use-interface/README.md |
| README.md | https://github.com/originalix/algorithm/blob/refactor-use-interface/README.md |
| babel.config.json | https://github.com/originalix/algorithm/blob/refactor-use-interface/babel.config.json |
| babel.config.json | https://github.com/originalix/algorithm/blob/refactor-use-interface/babel.config.json |
| jest.config.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/jest.config.js |
| jest.config.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/jest.config.js |
| package.json | https://github.com/originalix/algorithm/blob/refactor-use-interface/package.json |
| package.json | https://github.com/originalix/algorithm/blob/refactor-use-interface/package.json |
| tsconfig.json | https://github.com/originalix/algorithm/blob/refactor-use-interface/tsconfig.json |
| tsconfig.json | https://github.com/originalix/algorithm/blob/refactor-use-interface/tsconfig.json |
| webpack.config.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/webpack.config.js |
| webpack.config.js | https://github.com/originalix/algorithm/blob/refactor-use-interface/webpack.config.js |
| yarn.lock | https://github.com/originalix/algorithm/blob/refactor-use-interface/yarn.lock |
| yarn.lock | https://github.com/originalix/algorithm/blob/refactor-use-interface/yarn.lock |
| README | https://github.com/originalix/algorithm/tree/refactor-use-interface |
| https://github.com/originalix/algorithm/tree/refactor-use-interface#算法与数据结构 |
| https://github.com/originalix/algorithm/tree/refactor-use-interface#队列链表栈 |
| Dijkstra 的双栈算术表达式求值算法 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-3/evaluate.ts |
| 队列(链表实现) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-3/node-queue.ts |
| 栈(链表实现) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-3/node-stack.ts |
| 动态调整大小的栈 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-3/resizing-array-stack.ts |
| https://github.com/originalix/algorithm/tree/refactor-use-interface#并查集 |
| 并查集 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-5/union-find.ts |
| 并查集(树型森林的表示) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-5/quick-union.ts |
| 并查集(加权算法) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/1-5/weight-quick-union.ts |
| https://github.com/originalix/algorithm/tree/refactor-use-interface#排序 |
| 插入排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/insertion.ts |
| 选择排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/selection.ts |
| 希尔排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/shell-sort.ts |
| 归并排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/merge-sort.ts |
| 快速排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/quick-sort.ts |
| 三指针快排 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/quick3way.ts |
| 优先队列(堆) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/max-pq.ts |
| 堆排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/sort/heap-sort.ts |
| https://github.com/originalix/algorithm/tree/refactor-use-interface#查找 |
| 符号表 顺序查找(基于无序链表) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/search/sequential-search-st.ts |
| 符号表 二分查找(基于有序数组) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/search/binary-search-st.ts |
| 二叉查找树 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/search/binary-search-tree.ts |
| 红黑树 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/search/red-black-bst.ts |
| https://github.com/originalix/algorithm/tree/refactor-use-interface#图 |
| 无向图(邻接表表示) | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/graph.ts |
| DFS 深度优先搜索 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/dfs.ts |
| BFS 广度优先搜索 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/bfs.ts |
| 连通分量 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/connect-components.ts |
| 符号图 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/symbol-graph.ts |
| 有向图 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/digraph.ts |
| 有向图的可达性 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/directed-dfs.ts |
| 有向图中深度优先搜索的顶点排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/depth-first-order.ts |
| 拓补排序 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/topological.ts |
| 有向图的强连通分量 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/kosaraju.ts |
| 最小生成树的 Prim 算法 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/mst.ts |
| 最小生成树的 Kruskal 算法 | https://github.com/originalix/algorithm/blob/refactor-use-interface/src/algs4/graph/kruskal-mst.ts |
| algorithm | https://github.com/topics/algorithm |
| Readme | https://github.com/originalix/algorithm/tree/refactor-use-interface#readme-ov-file |
| Activity | https://github.com/originalix/algorithm/activity |
| 2 forks | https://github.com/originalix/algorithm/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Foriginalix%2Falgorithm&report=originalix+%28user%29 |
|
| 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 |