René's URL Explorer Experiment


Title: leetcode/thinkings/heap-2.md at master · shiftbank/leetcode · GitHub

Open Graph Title: leetcode/thinkings/heap-2.md at master · shiftbank/leetcode

X Title: leetcode/thinkings/heap-2.md at master · shiftbank/leetcode

Description: LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) - leetcode/thinkings/heap-2.md at master · shiftbank/leetcode

Open Graph Description: LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) - shiftbank/leetcode

X Description: LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) - shiftbank/leetcode

Opengraph URL: https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:72489439-98bf-deb5-0998-28b496d3f3e7
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idD662:107233:4AB8CEE:6417A89:6A655088
html-safe-nonce629887ecde458aeb778552418ba15a5fb0dc9960db4e1ea36b862c176b09141b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjYyOjEwNzIzMzo0QUI4Q0VFOjY0MTdBODk6NkE2NTUwODgiLCJ2aXNpdG9yX2lkIjoiNjc2Mzc0ODc0NzU5NTA0Mjk1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac62fc5229376bdf46c41bf61c22dd2dc3994824969ee4deff26341279b31e2e21
hovercard-subject-tagrepository:471293155
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md
twitter:imagehttps://opengraph.githubassets.com/d4e68c4cda72b95db756e8861e4119e4537eb01c94e037bac71a20e8cde91727/shiftbank/leetcode
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d4e68c4cda72b95db756e8861e4119e4537eb01c94e037bac71a20e8cde91727/shiftbank/leetcode
og:image:alt LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) - shiftbank/leetcode
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/shiftbank/leetcode git https://github.com/shiftbank/leetcode.git
octolytics-dimension-user_id7017328
octolytics-dimension-user_loginshiftbank
octolytics-dimension-repository_id471293155
octolytics-dimension-repository_nwoshiftbank/leetcode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id127407957
octolytics-dimension-repository_parent_nwoazl397985856/leetcode
octolytics-dimension-repository_network_root_id127407957
octolytics-dimension-repository_network_root_nwoazl397985856/leetcode
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
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshiftbank%2Fleetcode%2Fblob%2Fmaster%2Fthinkings%2Fheap-2.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshiftbank%2Fleetcode%2Fblob%2Fmaster%2Fthinkings%2Fheap-2.md
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%2Fblob%2Fshow&source=header-repo&source_repo=shiftbank%2Fleetcode
Reloadhttps://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md
Reloadhttps://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md
Reloadhttps://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md
shiftbank https://github.com/shiftbank
leetcodehttps://github.com/shiftbank/leetcode
azl397985856/leetcodehttps://github.com/azl397985856/leetcode
Notifications https://github.com/login?return_to=%2Fshiftbank%2Fleetcode
Fork 0 https://github.com/login?return_to=%2Fshiftbank%2Fleetcode
Star 0 https://github.com/login?return_to=%2Fshiftbank%2Fleetcode
Code https://github.com/shiftbank/leetcode
Pull requests 0 https://github.com/shiftbank/leetcode/pulls
Actions https://github.com/shiftbank/leetcode/actions
Projects https://github.com/shiftbank/leetcode/projects
Security and quality 0 https://github.com/shiftbank/leetcode/security
Insights https://github.com/shiftbank/leetcode/pulse
Code https://github.com/shiftbank/leetcode
Pull requests https://github.com/shiftbank/leetcode/pulls
Actions https://github.com/shiftbank/leetcode/actions
Projects https://github.com/shiftbank/leetcode/projects
Security and quality https://github.com/shiftbank/leetcode/security
Insights https://github.com/shiftbank/leetcode/pulse
https://github.com/shiftbank/leetcode
leetcodehttps://github.com/shiftbank/leetcode/tree/master
thinkingshttps://github.com/shiftbank/leetcode/tree/master/thinkings
Historyhttps://github.com/shiftbank/leetcode/commits/master/thinkings/heap-2.md
https://github.com/shiftbank/leetcode/commits/master/thinkings/heap-2.md
leetcodehttps://github.com/shiftbank/leetcode/tree/master
thinkingshttps://github.com/shiftbank/leetcode/tree/master/thinkings
Rawhttps://github.com/shiftbank/leetcode/raw/refs/heads/master/thinkings/heap-2.md
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#几乎刷完了力扣所有的堆题我发现了这些东西第二弹
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#一点题外话
https://camo.githubusercontent.com/f0e0983f93b5dacea769b4df9ddcc6b003ee46386ebaf9fd8706872d6f43dbb7/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d7463366c367366696a333070323067716a73752e6a7067
https://camo.githubusercontent.com/b770afbd2e9bf5a0cb11ac9cad44f027b746b6470ec64a47bbe27db470c93c9b/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d74633779657178796a33313779306d653077642e6a7067
https://leetcode-solution.cn/solution-codehttps://leetcode-solution.cn/solution-code
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#正文
https://camo.githubusercontent.com/9c926173cdb575a9ffc44b4cf11892846133c9c48d3caaee1a427589a5091f49/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f303038314b636b776c7931676c65677665327634376a333139673075303431782e6a7067
https://marketplace.visualstudio.com/items?itemName=awehook.vscode-blink-mindhttps://marketplace.visualstudio.com/items?itemName=awehook.vscode-blink-mind
几乎刷完了力扣所有的链表题,我发现了这些东西。。。https://lucifer.ren/blog/2020/11/08/linked-list/
几乎刷完了力扣所有的树题,我发现了这些东西。。。https://lucifer.ren/blog/2020/11/23/tree/
几乎刷完了力扣所有的堆题,我发现了这些东西。。。(第一弹)https://lucifer.ren/blog/2020/12/26/heap/
几乎刷完了力扣所有的堆题,我发现了这些东西。。。(第一弹)https://lucifer.ren/blog/2020/12/26/heap/
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#一点说明
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#元组
https://camo.githubusercontent.com/e6a316e85354aef524e77a347992a940393adc506d7dee61de786f22738d6a0e/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f303038314b636b776c7931676d626e3066617171616a33306a79306c6b71346e2e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#模拟大顶堆
https://camo.githubusercontent.com/8da49c4bc0a67ae575f5a8e981a3277c812d4fea5f26a47f680b054f2a0af5be/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f303038314b636b776c7931676d626e3335667a68796a33306b32306d6b37357a2e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#三个技巧
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#技巧一---固定堆
https://camo.githubusercontent.com/7f7fdb1edf684acac330a462bb47639cca0003ed1a1ee196ed75a72fff3cafd4/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f303038314b636b776c7931676d62677a39333834306a33307a6b3075306a76372e6a7067
5663. 找出第 K 大的异或坐标值https://leetcode-cn.com/problems/find-kth-largest-xor-coordinate-value/
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#295-数据流的中位数
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#857-雇佣-k-名工人的最低成本
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-1
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-1
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-1
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#技巧二---多路归并
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#1439-有序矩阵中的第-k-个最小数组和
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-2
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-2
https://camo.githubusercontent.com/9fdb644cf1ae2d5f940e7092a92f1e7c19b46a022d2946f7bb68dcc7bdb1b54f/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f303038314b636b776c7931676d616e696b30336f6d6a333170343075307138712e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-2
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#719-找出第-k-小的距离对
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-3
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-3
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-3
二分查找专题https://github.com/azl397985856/leetcode/blob/master/91/binary-search.md
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#632-最小区间
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-4
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-4
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-4
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#1675-数组的最小偏移量
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-5
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-5
https://camo.githubusercontent.com/e440165ed53085d7a7afefed91df31d72525813b1129fb1e5f16d9898f0e5956/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f303038314b636b776c7931676d626e3473747933616a333070303138346d7a762e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-5
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#技巧三---事后小诸葛
https://camo.githubusercontent.com/e7c734970355caf0dd99d249b8983b8f04e1d9f3103cd9c684f05f66d2dc8e89/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d66387265676671376a333066643063376d79632e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#871-最低加油次数
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-6
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-6
https://camo.githubusercontent.com/7da80c03ee156a195100f9d3f644a795c127e4a6fe329da6b62a94cea225b779/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d66387368656f7a706a33303873303769337a332e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-6
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#1488-避免洪水泛滥
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-7
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-7
https://camo.githubusercontent.com/9b5946a672f85517e960e37418701cf0515b3070197a7fa27a9625a5449cf2dc/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d66387463316374316a33306d373065633431652e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-7
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#1642-可以到达的最远建筑
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#题目描述-8
https://camo.githubusercontent.com/9fafb7d22608e8c88d0fff0792473f58ba3e1dfdcbec8ae3de3d3f52b637fd24/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d663875673162376d673330666d30666c64746e2e676966
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#思路-8
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#代码-8
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#四大应用
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#1-topk
面试题 17.14. 最小 K 个数https://leetcode-cn.com/problems/smallest-k-lcci/
347. 前 K 个高频元素https://leetcode-cn.com/problems/top-k-frequent-elements/
973. 最接近原点的 K 个点https://leetcode-cn.com/problems/k-closest-points-to-origin/
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#2-带权最短距离
743. 网络延迟时间https://leetcode-cn.com/problems/network-delay-time/
787. K 站中转内最便宜的航班https://leetcode-cn.com/problems/cheapest-flights-within-k-stops/
https://camo.githubusercontent.com/602c248eb9b3e0c662ca4d21f97a98d215e5b2041a3ad5152dbc01a4071c7eac/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d6a6b6474336565616a3330646f3061306161672e6a7067
https://camo.githubusercontent.com/b8607a5b03d711fae4498d4b3b8fb190e51e8c9c5321a37724a5f884fc69ff0f/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303865476d5a456c7931676d6a6b6531317938796a3330646f3061306161672e6a7067
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#3-因子分解
264. 丑数 IIhttps://leetcode-cn.com/problems/ugly-number-ii/
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#4-堆排序
https://github.com/shiftbank/leetcode/blob/master/thinkings/heap-2.md#总结
649. Dota2 参议院https://leetcode-cn.com/problems/dota2-senate/
1654. 到家的最少跳跃次数https://leetcode-cn.com/problems/minimum-jumps-to-reach-home/
https://github.com/azl397985856/leetcodehttps://github.com/azl397985856/leetcode
https://camo.githubusercontent.com/3f9bd0976f2698d1dbbbaf5f9cb398c1fa3f236e4f83479bdffb737e2df85f10/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303753385a496c6c7931676663757a61676a616c6a333070303064776162732e6a7067
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.