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
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 }}
chenxli
CS-note
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
CS-note
/
code
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
CS-note
/
code
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
.vscode
.vscode
1. Two Sum.cpp
1. Two Sum.cpp
1004. Max Consecutive Ones III.cpp
1004. Max Consecutive Ones III.cpp
1004. Max Consecutive Ones III.py
1004. Max Consecutive Ones III.py
102. Binary Tree Level Order Traversal.cpp
102. Binary Tree Level Order Traversal.cpp
103. Binary Tree Zigzag Level Order Traversal.cpp
103. Binary Tree Zigzag Level Order Traversal.cpp
1049. Last Stone Weight II.cpp
1049. Last Stone Weight II.cpp
107. Binary Tree Level Order Traversal II.cpp
107. Binary Tree Level Order Traversal II.cpp
111. Minimum Depth of Binary Tree.cpp
111. Minimum Depth of Binary Tree.cpp
113. Path Sum II.cpp
113. Path Sum II.cpp
1140. Stone Game II.cpp
1140. Stone Game II.cpp
1143. Longest Common Subsequence.cpp
1143. Longest Common Subsequence.cpp
1143. Longest Common Subsequence.py
1143. Longest Common Subsequence.py
124. Binary Tree Maximum Path Sum.cpp
124. Binary Tree Maximum Path Sum.cpp
127. 拓扑排序.cpp
127. 拓扑排序.cpp
129. Sum Root to Leaf Numbers.cpp
129. Sum Root to Leaf Numbers.cpp
1406. Stone Game III.cpp
1406. Stone Game III.cpp
141. Linked List Cycle.cpp
141. Linked List Cycle.cpp
142. Linked List Cycle II.cpp
142. Linked List Cycle II.cpp
1462. Course Schedule IV.cpp
1462. Course Schedule IV.cpp
15. 3Sum.cpp
15. 3Sum.cpp
15. 3Sum.py
15. 3Sum.py
1510. Stone Game IV.cpp
1510. Stone Game IV.cpp
1510. Stone Game IV.py
1510. Stone Game IV.py
1563. Stone Game V.cpp
1563. Stone Game V.cpp
1574. Shortest Subarray to be Removed to Make Array Sorted.cpp
1574. Shortest Subarray to be Removed to Make Array Sorted.cpp
16. 3Sum Closest.cpp
16. 3Sum Closest.cpp
1686. Stone Game VI.cpp
1686. Stone Game VI.cpp
1686. Stone Game VI.py
1686. Stone Game VI.py
1690. Stone Game VII.cpp
1690. Stone Game VII.cpp
1690. Stone Game VII.py
1690. Stone Game VII.py
1697. Checking Existence of Edge Length Limited Paths.cpp
1697. Checking Existence of Edge Length Limited Paths.cpp
1872. 连接棒材的最低费用.cpp
1872. 连接棒材的最低费用.cpp
202. Happy Number.cpp
202. Happy Number.cpp
206. Reverse Linked List.cpp
206. Reverse Linked List.cpp
206. Reverse Linked List.go
206. Reverse Linked List.go
206. Reverse Linked List.py
206. Reverse Linked List.py
207. Course Schedule.cpp
207. Course Schedule.cpp
209. Minimum Size Subarray Sum.cpp
209. Minimum Size Subarray Sum.cpp
209. Minimum Size Subarray Sum.go
209. Minimum Size Subarray Sum.go
209. Minimum Size Subarray Sum.py
209. Minimum Size Subarray Sum.py
23. Merge k Sorted Lists.cpp
23. Merge k Sorted Lists.cpp
239. Sliding Window Maximum.cpp
239. Sliding Window Maximum.cpp
25. Reverse Nodes in k-Group.cpp
25. Reverse Nodes in k-Group.cpp
259. 3Sum Smaller.cpp
259. 3Sum Smaller.cpp
26. Remove Duplicates from Sorted Array.cpp
26. Remove Duplicates from Sorted Array.cpp
268. Missing Number.cpp
268. Missing Number.cpp
285. Inorder Successor in BST .cpp
285. Inorder Successor in BST .cpp
287. Find the Duplicate Number.cpp
287. Find the Duplicate Number.cpp
295. Find Median from Data Stream.cpp
295. Find Median from Data Stream.cpp
3. Longest Substring Without Repeating Characters.cpp
3. Longest Substring Without Repeating Characters.cpp
347. Top K Frequent Elements.cpp
347. Top K Frequent Elements.cpp
347. Top K Frequent Elements.py
347. Top K Frequent Elements.py
358. K 距离间隔重排字符串.py
358. K 距离间隔重排字符串.py
378. Kth Smallest Element in a Sorted Matrix.cpp
378. Kth Smallest Element in a Sorted Matrix.cpp
4. Median of Two Sorted Arrays.cpp
4. Median of Two Sorted Arrays.cpp
406. Queue Reconstruction by Height.cpp
406. Queue Reconstruction by Height.cpp
416. Partition Equal Subset Sum.cpp
416. Partition Equal Subset Sum.cpp
424. Longest Repeating Character Replacement.cpp
424. Longest Repeating Character Replacement.cpp
437. Path Sum III.cpp
437. Path Sum III.cpp
442. Find All Duplicates in an Array.cpp
442. Find All Duplicates in an Array.cpp
448. Find All Numbers Disappeared in an Array.cpp
448. Find All Numbers Disappeared in an Array.cpp
451. Sort Characters By Frequency.cpp
451. Sort Characters By Frequency.cpp
451. Sort Characters By Frequency.py
451. Sort Characters By Frequency.py
452. Minimum Number of Arrows to Burst Balloons.cpp
452. Minimum Number of Arrows to Burst Balloons.cpp
46. Permutations.cpp
46. Permutations.cpp
474. Ones and Zeroes.cpp
474. Ones and Zeroes.cpp
474. Ones and Zeroes.py
474. Ones and Zeroes.py
480. Sliding Window Median.cpp
480. Sliding Window Median.cpp
494. Target Sum.cpp
494. Target Sum.cpp
502. IPO.cpp
502. IPO.cpp
544. 前K大数.cpp
544. 前K大数.cpp
56. Merge Intervals.cpp
56. Merge Intervals.cpp
57. Insert Interval.cpp
57. Insert Interval.cpp
616. 安排课程.cpp
616. 安排课程.cpp
621. Task Scheduler.cpp
621. Task Scheduler.cpp
637. Average of Levels in Binary Tree.cpp
637. Average of Levels in Binary Tree.cpp
658. Find K Closest Elements.cpp
658. Find K Closest Elements.cpp
658. Find K Closest Elements.py
658. Find K Closest Elements.py
692. Top K Frequent Words.cpp
692. Top K Frequent Words.cpp
692. Top K Frequent Words.py
692. Top K Frequent Words.py
703. Kth Largest Element in a Stream.cpp
703. Kth Largest Element in a Stream.cpp
713. Subarray Product Less Than K.cpp
713. Subarray Product Less Than K.cpp
75. Sort Colors.cpp
75. Sort Colors.cpp
75. Sort Colors.go
75. Sort Colors.go
763. Partition Labels.cpp
763. Partition Labels.cpp
78. Subsets.cpp
78. Subsets.cpp
784. Letter Case Permutation.cpp
784. Letter Case Permutation.cpp
852. Peak Index in a Mountain Array.cpp
852. Peak Index in a Mountain Array.cpp
875. Koko Eating Bananas.cpp
875. Koko Eating Bananas.cpp
875. Koko Eating Bananas.py
875. Koko Eating Bananas.py
876. Middle of the Linked List.cpp
876. Middle of the Linked List.cpp
877. Stone Game.cpp
877. Stone Game.cpp
892.外星人字典.cpp
892.外星人字典.cpp
90. Subsets II.cpp
90. Subsets II.cpp
904. Fruit Into Baskets.cpp
904. Fruit Into Baskets.cpp
904. Fruit Into Baskets.py
904. Fruit Into Baskets.py
908. Smallest Range I.cpp
908. Smallest Range I.cpp
92. Reverse Linked List II.cpp
92. Reverse Linked List II.cpp
92. Reverse Linked List II.py
92. Reverse Linked List II.py
View all files
You can’t perform that action at this time.