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 }}
yychentw
/
leetcode-solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
42 Commits
42 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0. Example Template
0. Example Template
11. Container With Most Water
11. Container With Most Water
1161. Maximum Level Sum of a Binary Tree
1161. Maximum Level Sum of a Binary Tree
1248. Count Number of Nice Subarrays
1248. Count Number of Nice Subarrays
1296. Divide Array in Sets of K Consecutive Numbers
1296. Divide Array in Sets of K Consecutive Numbers
1372. Longest ZigZag Path in a Binary Tree
1372. Longest ZigZag Path in a Binary Tree
1448. Count Good Nodes in Binary Tree
1448. Count Good Nodes in Binary Tree
151. Reverse Words in a String
151. Reverse Words in a String
162. Find Peak Element
162. Find Peak Element
1657. Determine if Two Strings Are Close
1657. Determine if Two Strings Are Close
1679. Max Number of K-Sum Pairs
1679. Max Number of K-Sum Pairs
1768. Merge Strings Alternately
1768. Merge Strings Alternately
198. House Robber
198. House Robber
199. Binary Tree Right Side View
199. Binary Tree Right Side View
2095. Delete the Middle Node of a Linked List
2095. Delete the Middle Node of a Linked List
2130. Maximum Twin Sum of a Linked List
2130. Maximum Twin Sum of a Linked List
2300. Successful Pairs of Spells and Potions
2300. Successful Pairs of Spells and Potions
2352. Equal Row and Column Pairs
2352. Equal Row and Column Pairs
236. Lowest Common Ancestor of a Binary Tree
236. Lowest Common Ancestor of a Binary Tree
2390. Removing Stars From a String
2390. Removing Stars From a String
328. Odd Even Linked List
328. Odd Even Linked List
334. Increasing Triplet Subsequence
334. Increasing Triplet Subsequence
394. Decode String
394. Decode String
437. Path Sum III
437. Path Sum III
443. String Compression
443. String Compression
547. Number of Provinces
547. Number of Provinces
649. Dota2 Senate
649. Dota2 Senate
735. Asteroid Collision
735. Asteroid Collision
75. Sort Colors
75. Sort Colors
790. Domino and Tromino Tiling
790. Domino and Tromino Tiling
841. Keys and Rooms
841. Keys and Rooms
875. Koko Eating Bananas
875. Koko Eating Bananas
933. Number of Recent Calls
933. Number of Recent Calls
974. Subarray Sums Divisible by K
974. Subarray Sums Divisible by K
README.md
README.md
View all files
Repository files navigation
README
More
items
leetcode-solutions
This repository contains my solutions to the LeetCode problems.
About
This repository contains my solutions to the LeetCode problems.
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.