Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
Yu-Qi
/
algorithm-pattern
Public
forked from
greyireland/algorithm-pattern
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
algorithm-pattern
/
src
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
algorithm-pattern
/
src
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1020_numEnclaves
1020_numEnclaves
102_levelOrder
102_levelOrder
103_zigzagLevelOrder
103_zigzagLevelOrder
104_maxDepth
104_maxDepth
107_levelOrderBottom
107_levelOrderBottom
110_isBalanced
110_isBalanced
122_maxProfit
122_maxProfit
124_maxPathSum
124_maxPathSum
1254_closedIsland
1254_closedIsland
133_cloneGraph
133_cloneGraph
136_singleNumber
136_singleNumber
137_singleNumber
137_singleNumber
138_copyRandomList
138_copyRandomList
141_hasCycle
141_hasCycle
142_detectCycle
142_detectCycle
143_reorderList
143_reorderList
148_sortList
148_sortList
150_evalRPN
150_evalRPN
153_findMin
153_findMin
154_findMin
154_findMin
155_MinStack
155_MinStack
190_reverseBits
190_reverseBits
191_hammingWeight
191_hammingWeight
200_numIslands
200_numIslands
201_rangeBitwiseAnd
201_rangeBitwiseAnd
206_reverseList
206_reverseList
21_mergeTwoLists
21_mergeTwoLists
232_MyQueue
232_MyQueue
234_isPalindrome
234_isPalindrome
236_lowestCommonAncestor
236_lowestCommonAncestor
260_singleNumber
260_singleNumber
278_firstBadVersion
278_firstBadVersion
338_countBits
338_countBits
33_search
33_search
35_searchInsert
35_searchInsert
394_decodeString
394_decodeString
45_jump_game2
45_jump_game2
503_nextGreaterElements
503_nextGreaterElements
542_updateMatrix
542_updateMatrix
55_jump_game
55_jump_game
62_uniquePaths
62_uniquePaths
63_uniquePathsWithObstacles
63_uniquePathsWithObstacles
64_minPathSum
64_minPathSum
701_insertIntoBST
701_insertIntoBST
704_search
704_search
70_climbing_stairs
70_climbing_stairs
739_dailyTemperatures
739_dailyTemperatures
74_searchMatrix
74_searchMatrix
752_openLock
752_openLock
76_minWindow
76_minWindow
81_search
81_search
82_deleteDuplicates
82_deleteDuplicates
83_deleteDuplicates
83_deleteDuplicates
84_largestRectangleArea
84_largestRectangleArea
86_partition
86_partition
92_reverseBetween
92_reverseBetween
94_inorderTraversal
94_inorderTraversal
98_isValidBST
98_isValidBST
InorderTraversal
InorderTraversal
ListNode
ListNode
Tree
Tree
bfs
bfs
covert_array_to_cbt
covert_array_to_cbt
sort
sort
template
template
main.go
main.go
View all files
You can’t perform that action at this time.