René's URL Explorer Experiment


Title: 【028-毕业总结】 · Issue #291 · algorithm002/algorithm · GitHub

Open Graph Title: 【028-毕业总结】 · Issue #291 · algorithm002/algorithm

X Title: 【028-毕业总结】 · Issue #291 · algorithm002/algorithm

Description: 名称 原理 复杂度 稳定性 0 1 排序 使用 i 指向第一个 1,j 指向 i 后的第一个 0,swap(i++,j++) O(n) 是 插入排序 对于元素索引i(i>=1),从头开始,若能找到比 a[i] 大对元素 a[j],则记录 a[i] 的值,将索引 j~i-1 的元素向后移动一位,使用 a[i] 替换 a[j]。优化思路:针对数组可以采用二分查找找到当前元素的插入位置,链表不需要位移操作。 O(n^2/2) 是 选择排序 从当前元素开始遍历,记录最小值的索引...

Open Graph Description: 名称 原理 复杂度 稳定性 0 1 排序 使用 i 指向第一个 1,j 指向 i 后的第一个 0,swap(i++,j++) O(n) 是 插入排序 对于元素索引i(i>=1),从头开始,若能找到比 a[i] 大对元素 a[j],则记录 a[i] 的值,将索引 j~i-1 的元素向后移动一位,使用 a[i] 替换 a[j]。优化思路:针对数组可以采用二分查找找到当前元素的插入位置,链表不需要...

X Description: 名称 原理 复杂度 稳定性 0 1 排序 使用 i 指向第一个 1,j 指向 i 后的第一个 0,swap(i++,j++) O(n) 是 插入排序 对于元素索引i(i>=1),从头开始,若能找到比 a[i] 大对元素 a[j],则记录 a[i] 的值,将索引 j~i-1 的元素向后移动一位,使用 a[i] 替换 a[j]。优化思路:针对数组可以采用二分查找找到当前元素的插入位置,链表...

Opengraph URL: https://github.com/algorithm002/algorithm/issues/291

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"【028-毕业总结】","articleBody":"\r\n名称 | 原理 | 复杂度 | 稳定性\r\n-- | -- | -- | --\r\n0 1 排序 | 使用 i 指向第一个 1,j 指向 i 后的第一个 0,swap(i++,j++) | O(n) | 是\r\n插入排序 | 对于元素索引i(i\u003e=1),从头开始,若能找到比 a[i] 大对元素 a[j],则记录 a[i] 的值,将索引 j~i-1 的元素向后移动一位,使用 a[i] 替换 a[j]。优化思路:针对数组可以采用二分查找找到当前元素的插入位置,链表不需要位移操作。 | O(n^2/2) | 是\r\n选择排序 | 从当前元素开始遍历,记录最小值的索引,根据索引交换当前值的最小值,选择排序每次选出最小的元素和当前元素交换。选择排序基于链表实现,使用指针记录最小元素。选择排序最多只需进行 n 次赋值操作。 | O(n^2/2) | 是\r\n堆排序 | 首先将队列中元素全部入堆,再将其依次出堆。堆,堆顶元素为堆中的最大(小)值的完全二叉树,完全二叉树,把元素顺序排成树的形状。Sift UP 原理:只有战胜底层子节点,才能向上。Sift Down 原理:临时小弟被打败。第 K 大元素(Top N),使用 K 小顶堆。 | O(n*log(2,n))\r\n冒泡排序 | 从头到尾,发现前一位大于后一位,互换位置,第一排序保证数值最大的元素排到最后,尾部减 1。头尾相等时停止。冒泡排序交换次数多。 | O(n^2/2)\r\n快速排序 | 使用 parttion 函数,将数组中的第一个元素置于正确的顺序位置(左边元素比他小,右边大于等于),对基点左右的队列递归进行快速排序。快排的终止条件,左右界相等,则返回左界或右界。partition 函数:x 为第一个元素,小于 x 左边,大于等于 x 右边,左边初始数组 [-1,0),右边初始数组[0,0], i 从位置 1 开始遍历,若小于 x,和右边数组的第一位置换,左右边数组向后移动一位。 | O(n*log(2,n))\r\n归并排序 | 对左边进行归并排序,得到数组 left,对右边进行归并排序,得到结果 right,合并 left 和 right,结束条件,进行归并排序到数组长度为 1 时,返回原数组,归并是一种外部排序。 | O(n*log(2,n))\r\n\r\n","author":{"url":"https://github.com/Jerrydreamaker","@type":"Person","name":"Jerrydreamaker"},"datePublished":"2019-07-07T15:30:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/291/algorithm/issues/291"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:41745109-6134-e5e8-3fe1-2a8f39ec2cee
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED6A:13D6E:164E2AB:1DE1FFA:69706788
html-safe-nonce03ab69a1e69de957000308d8a8ac6c279653f0930fbebe9d6fe806a8af351716
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDZBOjEzRDZFOjE2NEUyQUI6MURFMUZGQTo2OTcwNjc4OCIsInZpc2l0b3JfaWQiOiI1OTUyMzA5MzE2NjA0MTU5ODgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac76272b654853ddcd102efada28dcfe5f373f154c6e5810be4dfcb95fcb44f469
hovercard-subject-tagissue:464964412
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/algorithm002/algorithm/291/issue_layout
twitter:imagehttps://opengraph.githubassets.com/625cc033f3eec96f6353dedde5336062d5d7a2ad94d45ab7cc661fd071b16b9f/algorithm002/algorithm/issues/291
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/625cc033f3eec96f6353dedde5336062d5d7a2ad94d45ab7cc661fd071b16b9f/algorithm002/algorithm/issues/291
og:image:alt名称 原理 复杂度 稳定性 0 1 排序 使用 i 指向第一个 1,j 指向 i 后的第一个 0,swap(i++,j++) O(n) 是 插入排序 对于元素索引i(i>=1),从头开始,若能找到比 a[i] 大对元素 a[j],则记录 a[i] 的值,将索引 j~i-1 的元素向后移动一位,使用 a[i] 替换 a[j]。优化思路:针对数组可以采用二分查找找到当前元素的插入位置,链表不需要...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJerrydreamaker
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/algorithm002/algorithm git https://github.com/algorithm002/algorithm.git
octolytics-dimension-user_id50957709
octolytics-dimension-user_loginalgorithm002
octolytics-dimension-repository_id188251266
octolytics-dimension-repository_nwoalgorithm002/algorithm
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id188251266
octolytics-dimension-repository_network_root_nwoalgorithm002/algorithm
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d6181066430cc06553c8396ca201e194ae33cb9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/algorithm002/algorithm/issues/291#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Falgorithm002%2Falgorithm%2Fissues%2F291
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Falgorithm002%2Falgorithm%2Fissues%2F291
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=algorithm002%2Falgorithm
Reloadhttps://patch-diff.githubusercontent.com/algorithm002/algorithm/issues/291
Reloadhttps://patch-diff.githubusercontent.com/algorithm002/algorithm/issues/291
Reloadhttps://patch-diff.githubusercontent.com/algorithm002/algorithm/issues/291
algorithm002 https://patch-diff.githubusercontent.com/algorithm002
algorithmhttps://patch-diff.githubusercontent.com/algorithm002/algorithm
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Falgorithm002%2Falgorithm
Fork 53 https://patch-diff.githubusercontent.com/login?return_to=%2Falgorithm002%2Falgorithm
Star 43 https://patch-diff.githubusercontent.com/login?return_to=%2Falgorithm002%2Falgorithm
Code https://patch-diff.githubusercontent.com/algorithm002/algorithm
Issues 185 https://patch-diff.githubusercontent.com/algorithm002/algorithm/issues
Pull requests 0 https://patch-diff.githubusercontent.com/algorithm002/algorithm/pulls
Actions https://patch-diff.githubusercontent.com/algorithm002/algorithm/actions
Projects 0 https://patch-diff.githubusercontent.com/algorithm002/algorithm/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/algorithm002/algorithm/security
Please reload this pagehttps://patch-diff.githubusercontent.com/algorithm002/algorithm/issues/291
Insights https://patch-diff.githubusercontent.com/algorithm002/algorithm/pulse
Code https://patch-diff.githubusercontent.com/algorithm002/algorithm
Issues https://patch-diff.githubusercontent.com/algorithm002/algorithm/issues
Pull requests https://patch-diff.githubusercontent.com/algorithm002/algorithm/pulls
Actions https://patch-diff.githubusercontent.com/algorithm002/algorithm/actions
Projects https://patch-diff.githubusercontent.com/algorithm002/algorithm/projects
Security https://patch-diff.githubusercontent.com/algorithm002/algorithm/security
Insights https://patch-diff.githubusercontent.com/algorithm002/algorithm/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/algorithm002/algorithm/issues/291
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/algorithm002/algorithm/issues/291
【028-毕业总结】https://patch-diff.githubusercontent.com/algorithm002/algorithm/issues/291#top
https://github.com/Jerrydreamaker
https://github.com/Jerrydreamaker
Jerrydreamakerhttps://github.com/Jerrydreamaker
on Jul 7, 2019https://github.com/algorithm002/algorithm/issues/291#issue-464964412
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.