René's URL Explorer Experiment


Title: GitHub - Daviswenpy/Python-Offer: 《剑指Offer》面试题Python实现

Open Graph Title: GitHub - Daviswenpy/Python-Offer: 《剑指Offer》面试题Python实现

X Title: GitHub - Daviswenpy/Python-Offer: 《剑指Offer》面试题Python实现

Description: 《剑指Offer》面试题Python实现. Contribute to Daviswenpy/Python-Offer development by creating an account on GitHub.

Open Graph Description: 《剑指Offer》面试题Python实现. Contribute to Daviswenpy/Python-Offer development by creating an account on GitHub.

X Description: 《剑指Offer》面试题Python实现. Contribute to Daviswenpy/Python-Offer development by creating an account on GitHub.

Opengraph URL: https://github.com/Daviswenpy/Python-Offer

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:041d2284-6633-096e-4176-a615fb17611c
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB9D2:140D1:550B91B:72DDECC:696E1ADE
html-safe-nonce9b78541db553ae862028399d71b4f836b1f2a544608342e326e76d837b1c5a3f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUQyOjE0MEQxOjU1MEI5MUI6NzJEREVDQzo2OTZFMUFERSIsInZpc2l0b3JfaWQiOiI2MTI4MzQwNTY1NTcwMjMxMDA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd5a9302e917451c51d8ed17d6e56112084c71ea0f5950898eb52575cd3d1eb76
hovercard-subject-tagrepository:278976833
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Daviswenpy/Python-Offer
twitter:imagehttps://opengraph.githubassets.com/45e9c43fe3a71cd036d05bbfd1a4e27155734000b5b32ac9740f73de8a3c299d/Daviswenpy/Python-Offer
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/45e9c43fe3a71cd036d05bbfd1a4e27155734000b5b32ac9740f73de8a3c299d/Daviswenpy/Python-Offer
og:image:alt《剑指Offer》面试题Python实现. Contribute to Daviswenpy/Python-Offer development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None113cc336e7105fbb9f2ee8beb67c6cc584d65fa66a8a1a5dd236ba66db174af7
turbo-cache-controlno-preview
go-importgithub.com/Daviswenpy/Python-Offer git https://github.com/Daviswenpy/Python-Offer.git
octolytics-dimension-user_id50024114
octolytics-dimension-user_loginDaviswenpy
octolytics-dimension-repository_id278976833
octolytics-dimension-repository_nwoDaviswenpy/Python-Offer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id107967201
octolytics-dimension-repository_parent_nwoJushuangQiao/Python-Offer
octolytics-dimension-repository_network_root_id107967201
octolytics-dimension-repository_network_root_nwoJushuangQiao/Python-Offer
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
release1d23f8b0bc31294c6a73ba2f3adfdd8c7052ca1e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FDaviswenpy%2FPython-Offer
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%2FDaviswenpy%2FPython-Offer
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&source=header-repo&source_repo=Daviswenpy%2FPython-Offer
Reloadhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Reloadhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Reloadhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Daviswenpy https://patch-diff.githubusercontent.com/Daviswenpy
Python-Offerhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
JushuangQiao/Python-Offerhttps://patch-diff.githubusercontent.com/JushuangQiao/Python-Offer
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FDaviswenpy%2FPython-Offer
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FDaviswenpy%2FPython-Offer
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2FDaviswenpy%2FPython-Offer
0 stars https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/stargazers
587 forks https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/forks
Branches https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/branches
Tags https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tags
Activity https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2FDaviswenpy%2FPython-Offer
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FDaviswenpy%2FPython-Offer
Code https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Pull requests 0 https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/pulls
Actions https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/actions
Projects 0 https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/security
Please reload this pagehttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Insights https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/pulse
Code https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Pull requests https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/pulls
Actions https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/actions
Projects https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/projects
Security https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/security
Insights https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/pulse
Brancheshttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/branches
Tagshttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tags
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/branches
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tags
116 Commitshttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/commits/master/
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/commits/master/
fifthhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/fifth
fifthhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/fifth
fourthhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/fourth
fourthhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/fourth
secondhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/second
secondhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/second
seventhhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/seventh
seventhhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/seventh
sixthhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/sixth
sixthhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/sixth
thirdhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/third
thirdhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/tree/master/third
README.mdhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#剑指offer面试题-python实现
面试基础知识https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#第2章-面试基础知识
编程语言https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/second
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#22-编程语言
使用Python实现单例模式https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second#%E9%9D%A2%E8%AF%95%E9%A2%982-%E4%BD%BF%E7%94%A8Python%E5%AE%9E%E7%8E%B0%E5%8D%95%E4%BE%8B%E6%A8%A1%E5%BC%8F
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题2-使用python实现单例模式
数据结构https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/third
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#23-数据结构
二维数组中的查找https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/third#%E9%9D%A2%E8%AF%95%E9%A2%983-%E4%BA%8C%E7%BB%B4%E6%95%B0%E7%BB%84%E4%B8%AD%E7%9A%84%E6%9F%A5%E6%89%BE
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题3-二维数组中的查找
替换空格https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/third#%E9%9D%A2%E8%AF%95%E9%A2%984-%E6%9B%BF%E6%8D%A2%E7%A9%BA%E6%A0%BC
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题4-替换空格
从尾到头打印单链表https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/third#%E9%9D%A2%E8%AF%95%E9%A2%985-%E4%BB%8E%E5%B0%BE%E5%88%B0%E5%A4%B4%E6%89%93%E5%8D%B0%E5%8D%95%E9%93%BE%E8%A1%A8
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题5-从尾到头打印单链表
重建二叉树https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/third#%E9%9D%A2%E8%AF%95%E9%A2%986-%E9%87%8D%E5%BB%BA%E4%BA%8C%E5%8F%89%E6%A0%91
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题6-重建二叉树
用两个栈实现队列https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/third#%E9%9D%A2%E8%AF%95%E9%A2%987-%E7%94%A8%E4%B8%A4%E4%B8%AA%E6%A0%88%E5%AE%9E%E7%8E%B0%E9%98%9F%E5%88%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题7-用两个栈实现队列
算法和数据操作https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/fourth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#24-算法和数据操作
旋转数组的最小数字https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/fourth#%E9%9D%A2%E8%AF%95%E9%A2%988-%E6%97%8B%E8%BD%AC%E6%95%B0%E7%BB%84%E7%9A%84%E6%9C%80%E5%B0%8F%E6%95%B0%E5%AD%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题8-旋转数组的最小数字
斐波那契数列https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/fourth#%E9%9D%A2%E8%AF%95%E9%A2%989-%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B0%E5%88%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题9-斐波那契数列
二进制中1的个数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/second/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9810-%E4%BA%8C%E8%BF%9B%E5%88%B6%E4%B8%AD1%E7%9A%84%E4%B8%AA%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题10-二进制中1的个数
高质量代码https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#第3章-高质量代码
代码的完整性https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/third
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#33-代码的完整性
数值的整数次方https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/third#%E9%9D%A2%E8%AF%95%E9%A2%9811-%E6%95%B0%E5%80%BC%E7%9A%84%E6%95%B4%E6%95%B0%E6%AC%A1%E6%96%B9
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题11-数值的整数次方
打印1到最大的n位数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/third#%E9%9D%A2%E8%AF%95%E9%A2%9812-%E6%89%93%E5%8D%B01%E5%88%B0%E6%9C%80%E5%A4%A7%E7%9A%84n%E4%BD%8D%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题12-打印1到最大的n位数
O(1)时间删除链表结点https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/third#%E9%9D%A2%E8%AF%95%E9%A2%9813-o1%E6%97%B6%E9%97%B4%E5%88%A0%E9%99%A4%E9%93%BE%E8%A1%A8%E7%BB%93%E7%82%B9
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题13-o1时间删除链表结点
调整数组顺序使寄数位于偶数前面https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/third#%E9%9D%A2%E8%AF%95%E9%A2%9814-%E8%B0%83%E6%95%B4%E6%95%B0%E7%BB%84%E9%A1%BA%E5%BA%8F%E4%BD%BF%E5%A5%87%E6%95%B0%E4%BD%8D%E4%BA%8E%E5%81%B6%E6%95%B0%E5%89%8D%E9%9D%A2
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题14-调整数组顺序使寄数位于偶数前面
代码的鲁棒性https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/fourth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#34-代码的鲁棒性
链表中倒数第k个结点https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9815-%E9%93%BE%E8%A1%A8%E4%B8%AD%E5%80%92%E6%95%B0%E7%AC%ACk%E4%B8%AA%E7%BB%93%E7%82%B9
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题15-链表中倒数第k个结点
反转链表https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9816-%E5%8F%8D%E8%BD%AC%E9%93%BE%E8%A1%A8
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题16-反转链表
合并两个排序的链表https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9817-%E5%90%88%E5%B9%B6%E4%B8%A4%E4%B8%AA%E6%8E%92%E5%BA%8F%E7%9A%84%E9%93%BE%E8%A1%A8
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题17-合并两个排序的链表
树的子结构https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/third/third#%E9%9D%A2%E8%AF%95%E9%A2%9818-%E6%A0%91%E7%9A%84%E5%AD%90%E7%BB%93%E6%9E%84
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题18-树的子结构
解决面试题思路https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#第4章-解决面试题思路
画图让抽象问题形象化https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/second
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#42-画图让抽象问题形象化
二叉树的镜像https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/second#%E9%9D%A2%E8%AF%95%E9%A2%9819-%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E9%95%9C%E5%83%8F
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题19-二叉树的镜像
顺时针打印矩阵https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/second#%E9%9D%A2%E8%AF%95%E9%A2%9820-%E9%A1%BA%E6%97%B6%E9%92%88%E6%89%93%E5%8D%B0%E7%9F%A9%E9%98%B5
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题20-顺时针打印矩阵
举例让抽象问题具体化https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/third
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#43-举例让抽象问题具体化
包含min函数的栈https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/third#%E9%9D%A2%E8%AF%95%E9%A2%9821-%E5%8C%85%E5%90%ABmin%E5%87%BD%E6%95%B0%E7%9A%84%E6%A0%88
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题21-包含min函数的栈
栈的压入弹出序列https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/third#%E9%9D%A2%E8%AF%95%E9%A2%9822-%E6%A0%88%E7%9A%84%E5%8E%8B%E5%85%A5%E5%BC%B9%E5%87%BA%E5%BA%8F%E5%88%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题22-栈的压入弹出序列
从上往下打印二叉树https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/third#%E9%9D%A2%E8%AF%95%E9%A2%9823-%E4%BB%8E%E4%B8%8A%E5%BE%80%E4%B8%8B%E6%89%93%E5%8D%B0%E4%BA%8C%E5%8F%89%E6%A0%91
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题23-从上往下打印二叉树
二叉树的后序遍历序列https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/third#%E9%9D%A2%E8%AF%95%E9%A2%9824-%E4%BA%8C%E5%8F%89%E6%90%9C%E7%B4%A2%E6%A0%91%E7%9A%84%E5%90%8E%E5%BA%8F%E9%81%8D%E5%8E%86%E5%BA%8F%E5%88%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题24-二叉树的后序遍历序列
二叉树中和为某一值的路径https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/third#%E9%9D%A2%E8%AF%95%E9%A2%9825-%E4%BA%8C%E5%8F%89%E6%A0%91%E4%B8%AD%E5%92%8C%E4%B8%BA%E6%9F%90%E4%B8%80%E5%80%BC%E7%9A%84%E8%B7%AF%E5%BE%84
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题25-二叉树中和为某一值的路径
分解让复杂问题简单化https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/fourth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#44-分解让复杂问题简单化
复杂链表的复制https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9826-%E5%A4%8D%E6%9D%82%E9%93%BE%E8%A1%A8%E7%9A%84%E5%A4%8D%E5%88%B6
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题26-复杂链表的复制
二叉搜索树与双向链表https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9827-%E4%BA%8C%E5%8F%89%E6%90%9C%E7%B4%A2%E6%A0%91%E4%B8%8E%E5%8F%8C%E5%90%91%E9%93%BE%E8%A1%A8
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题27-二叉搜索树与双向链表
字符串的排列https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fourth/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9828-%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E6%8E%92%E5%88%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题28-字符串的排列
优化时间和空间效率https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#第5章-优化时间和空间效率
时间效率https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/second
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#52-时间效率
数组中出现次数超过一半的数字https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/second#%E9%9D%A2%E8%AF%95%E9%A2%9829-%E6%95%B0%E7%BB%84%E4%B8%AD%E5%87%BA%E7%8E%B0%E6%AC%A1%E6%95%B0%E8%B6%85%E8%BF%87%E4%B8%80%E5%8D%8A%E7%9A%84%E6%95%B0%E5%AD%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题29-数组中出现次数超过一半的数字
最小的k个数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/second#%E9%9D%A2%E8%AF%95%E9%A2%9830-%E6%9C%80%E5%B0%8F%E7%9A%84k%E4%B8%AA%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题30-最小的k个数
连续子数组的最大和https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/second#%E9%9D%A2%E8%AF%95%E9%A2%9831-%E8%BF%9E%E7%BB%AD%E5%AD%90%E6%95%B0%E7%BB%84%E7%9A%84%E6%9C%80%E5%A4%A7%E5%92%8C
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题31-连续子数组的最大和
从1到n整数中1出现的次数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/second#%E9%9D%A2%E8%AF%95%E9%A2%9832-%E4%BB%8E1%E5%88%B0n%E6%95%B4%E6%95%B0%E4%B8%AD1%E5%87%BA%E7%8E%B0%E7%9A%84%E6%AC%A1%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题32-从1到n整数中1出现的次数
把数组排成最小的数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/second#%E9%9D%A2%E8%AF%95%E9%A2%9833-%E6%8A%8A%E6%95%B0%E7%BB%84%E6%8E%92%E6%88%90%E6%9C%80%E5%B0%8F%E7%9A%84%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题33-把数组排成最小的数
时间效率与空间效率的平衡https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/third
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#53-时间效率与空间效率的平衡
丑数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/third#%E9%9D%A2%E8%AF%95%E9%A2%9834-%E4%B8%91%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题34-丑数
第一个只出现一次的字符https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/third#%E9%9D%A2%E8%AF%95%E9%A2%9835-%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8F%AA%E5%87%BA%E7%8E%B0%E4%B8%80%E6%AC%A1%E7%9A%84%E5%AD%97%E7%AC%A6
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题35-第一个只出现一次的字符
数组中的逆序对https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/third#%E9%9D%A2%E8%AF%95%E9%A2%9836-%E6%95%B0%E7%BB%84%E4%B8%AD%E7%9A%84%E9%80%86%E5%BA%8F%E5%AF%B9
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题36-数组中的逆序对
两个链表的第一个公共结点https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/fifth/third#%E9%9D%A2%E8%AF%95%E9%A2%9837-%E4%B8%A4%E4%B8%AA%E9%93%BE%E8%A1%A8%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%85%AC%E5%85%B1%E7%BB%93%E7%82%B9
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题37-两个链表的第一个公共结点
面试能力https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#第6章-面试能力
知识迁移能力https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/third
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#63-知识迁移能力
数字在排序数组中出现的次数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/third#%E9%9D%A2%E8%AF%95%E9%A2%9838-%E6%95%B0%E5%AD%97%E5%9C%A8%E6%8E%92%E5%BA%8F%E6%95%B0%E7%BB%84%E4%B8%AD%E5%87%BA%E7%8E%B0%E7%9A%84%E6%AC%A1%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题38-数字在排序数组中出现的次数
二叉树的深度https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/third#%E9%9D%A2%E8%AF%95%E9%A2%9839-%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E6%B7%B1%E5%BA%A6
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题39-二叉树的深度
数组中只出现一次的数字https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/third#%E9%9D%A2%E8%AF%95%E9%A2%9840-%E6%95%B0%E7%BB%84%E4%B8%AD%E5%8F%AA%E5%87%BA%E7%8E%B0%E4%B8%80%E6%AC%A1%E7%9A%84%E6%95%B0%E5%AD%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题40-数组中只出现一次的数字
和为s的两个数字VS和为s的连续正数序列https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/third#%E9%9D%A2%E8%AF%95%E9%A2%9841-%E5%92%8C%E4%B8%BAs%E7%9A%84%E4%B8%A4%E4%B8%AA%E6%95%B0%E5%AD%97vs%E5%92%8C%E4%B8%BAs%E7%9A%84%E8%BF%9E%E7%BB%AD%E6%AD%A3%E6%95%B0%E5%BA%8F%E5%88%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题41-和为s的两个数字vs和为s的连续正数序列
翻转单词顺序与左旋转字符串https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/third#%E9%9D%A2%E8%AF%95%E9%A2%9842-%E7%BF%BB%E8%BD%AC%E5%8D%95%E8%AF%8D%E9%A1%BA%E5%BA%8F%E4%B8%8E%E5%B7%A6%E6%97%8B%E8%BD%AC%E5%AD%97%E7%AC%A6%E4%B8%B2
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题42-翻转单词顺序与左旋转字符串
抽象建模能力https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fourth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#64-抽象建模能力
n个骰子的点数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9843-n%E4%B8%AA%E9%AA%B0%E5%AD%90%E7%9A%84%E7%82%B9%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题43-n个骰子的点数
扑克牌的顺子https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9844-%E6%89%91%E5%85%8B%E7%89%8C%E7%9A%84%E9%A1%BA%E5%AD%90
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题44-扑克牌的顺子
圆圈中最后剩下的数字https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fourth#%E9%9D%A2%E8%AF%95%E9%A2%9845-%E5%9C%86%E5%9C%88%E4%B8%AD%E6%9C%80%E5%90%8E%E5%89%A9%E4%B8%8B%E7%9A%84%E6%95%B0%E5%AD%97
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题45-圆圈中最后剩下的数字
发散思维能力https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fifth
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#65-发散思维能力
求1+2...+nhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fifth#%E9%9D%A2%E8%AF%95%E9%A2%9846-%E6%B1%821+2...+n
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题46-求12n
不用加减乘除做加法https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/sixth/fifth#%E9%9D%A2%E8%AF%95%E9%A2%9847-%E4%B8%8D%E7%94%A8%E5%8A%A0%E5%87%8F%E4%B9%98%E9%99%A4%E5%81%9A%E5%8A%A0%E6%B3%95
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题47-不用加减乘除做加法
不能被继承的类https://patch-diff.githubusercontent.com/Daviswenpy/sixth/fifth#%E9%9D%A2%E8%AF%95%E9%A2%9848-%E4%B8%8D%E8%83%BD%E8%A2%AB%E7%BB%A7%E6%89%BF%E7%9A%84%E7%B1%BB
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题48-不能被继承的类
面试案例https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/seventh
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#第7章-面试案例
案例一https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/seventh/first
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#71-案例一
把字符串转化成整数https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/seventh/first#%E9%9D%A2%E8%AF%95%E9%A2%9849-%E6%8A%8A%E5%AD%97%E7%AC%A6%E4%B8%B2%E8%BD%AC%E5%8C%96%E6%88%90%E6%95%B4%E6%95%B0
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题49-把字符串转化成整数
案例二https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/seventh/second
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#72-案例二
树中两个结点的最低公共祖先https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/blob/master/seventh/second#%E9%9D%A2%E8%AF%95%E9%A2%9850-%E6%A0%91%E4%B8%AD%E4%B8%A4%E4%B8%AA%E7%BB%93%E7%82%B9%E7%9A%84%E6%9C%80%E4%BD%8E%E5%85%AC%E5%85%B1%E7%A5%96%E5%85%88
https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#面试题50-树中两个结点的最低公共祖先
Readme https://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer#readme-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer
Activityhttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/activity
0 starshttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/watchers
0 forkshttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FDaviswenpy%2FPython-Offer&report=Daviswenpy+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/Daviswenpy/Python-Offer/releases
Packages 0https://patch-diff.githubusercontent.com/users/Daviswenpy/packages?repo_name=Python-Offer
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.