Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
algorithm002
algorithm
Repository navigation
Code
Issues
185
(185)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
【026-week1】第一周算法学习总结
#17
New issue
Copy link
New issue
Copy link
Open
Open
【026-week1】第一周算法学习总结
#17
Copy link
Description
hhf666feng
Issue body actions
收获
本周主要训练几个基础的数据结构和算法技巧,练习题本身难度不高,但是要短时间内全部自己思考出解决方案,还是有点难度,所以结合超哥提供的方法,不熟悉的题目直接看题解,记住思路,自己写一遍,然后过一天再练一遍。明显感觉学习效率提高了很多,而且记忆的也更深刻了
有一些题目看到题目可以下意识的想到使用什么数据结构或者什么算法比较有效
比如遇到查找元素,且复杂度要求log(n),可以优先想到二分法
遇到括号匹配、坐标容器问题、去除重复字母问题等等,需要跟上一个节点进行比较的问题,可以优先考虑使用堆栈
需要穷举排列组合的问题,先考虑递归加剪枝
遇到树的遍历问题,先考虑dfs或者bfs
还有一些常遇到的解题套路,比如链表环的快慢指针解法等等
思维导图
http://oss.daoshengzhi.com/4a175ae708e48e222cb7d87e7afa9ab4.jpg
Activity
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions
Open in GitHub Copilot app
You can’t perform that action at this time.
Activity