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
Type
/
to 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 }}
olivia-chen
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
265 Commits
265 Commits
10. Regular Expression Matching
10. Regular Expression Matching
115. Distinct Subsequences
115. Distinct Subsequences
138. Copy List with Random Pointer
138. Copy List with Random Pointer
140. Word Break II
140. Word Break II
174. Dungeon Game
174. Dungeon Game
214. Shortest Palindrome
214. Shortest Palindrome
23. Merge k Sorted Lists
23. Merge k Sorted Lists
239. Sliding Window Maximum
239. Sliding Window Maximum
244. Shortest Word Distance II
244. Shortest Word Distance II
264. Ugly Number II
264. Ugly Number II
273. Integer to English Words
273. Integer to English Words
282. Expression Add Operators
282. Expression Add Operators
297. Serialize and Deserialize Binary Tree
297. Serialize and Deserialize Binary Tree
303. Range Sum Query - Immutable
303. Range Sum Query - Immutable
304. Range Sum Query 2D - Immutable
304. Range Sum Query 2D - Immutable
312. Burst Balloons
312. Burst Balloons
32. Longest Valid Parentheses
32. Longest Valid Parentheses
322. Coin Change
322. Coin Change
336. Palindrome Pairs
336. Palindrome Pairs
338. Counting Bits
338. Counting Bits
343. Integer Break
343. Integer Break
344. Reverse String
344. Reverse String
345. Reverse Vowels of a String
345. Reverse Vowels of a String
349. Intersection of Two Arrays
349. Intersection of Two Arrays
350. Intersection of Two Arrays II
350. Intersection of Two Arrays II
354. Russian Doll Envelopes
354. Russian Doll Envelopes
357. Count Numbers with Unique Digits
357. Count Numbers with Unique Digits
363. Max Sum of Rectangle No Larger Than K
363. Max Sum of Rectangle No Larger Than K
365. Water and Jug Problem
365. Water and Jug Problem
367. Valid Perfect Square
367. Valid Perfect Square
368. Largest Divisible Subset
368. Largest Divisible Subset
371. Sum of Two Integers
371. Sum of Two Integers
376. Wiggle Subsequence
376. Wiggle Subsequence
384. Shuffle an Array
384. Shuffle an Array
387. First Unique Character in a String
387. First Unique Character in a String
389. Find the Difference
389. Find the Difference
3Sum
3Sum
3Sum Closest
3Sum Closest
41. First Missing Positive
41. First Missing Positive
413. Arithmetic Slices
413. Arithmetic Slices
419. Battleships in a Board
419. Battleships in a Board
44. Wildcard Matching
44. Wildcard Matching
4Sum
4Sum
54. Spiral Matrix
54. Spiral Matrix
56. Merge Intervals
56. Merge Intervals
71. Simplify Path
71. Simplify Path
72. Edit Distance
72. Edit Distance
73. Set Matrix Zeroes
73. Set Matrix Zeroes
74. Search a 2D Matrix
74. Search a 2D Matrix
76. Minimum Window Substring
76. Minimum Window Substring
85. Maximal Rectangle
85. Maximal Rectangle
87. Scramble String
87. Scramble String
97. Interleaving String
97. Interleaving String
Add Binary
Add Binary
Add Digits
Add Digits
Add and Search Word
Add and Search Word
Balanced Binary Tree(boolean balanced)
Balanced Binary Tree(boolean balanced)
Basic Calculator
Basic Calculator
Basic Calculator ||
Basic Calculator ||
Best Time to Buy and Sell Stock with Cooldown
Best Time to Buy and Sell Stock with Cooldown
Best time to buy and sell stock
Best time to buy and sell stock
Binary Tree Iterator
Binary Tree Iterator
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal II
Binary Tree Level Order Traversal II
Binary Tree Maximum PathSum
Binary Tree Maximum PathSum
Binary Tree Paths
Binary Tree Paths
Binary Tree Postorder Traversal
Binary Tree Postorder Traversal
Binary Tree Preorder Traversal
Binary Tree Preorder Traversal
Binary Tree Right Side View
Binary Tree Right Side View
Binary Tree Zigzag Level Order Traversal
Binary Tree Zigzag Level Order Traversal
BinaryTree Inorder Traversal
BinaryTree Inorder Traversal
Bitwise AND of Numbers Range
Bitwise AND of Numbers Range
Climbing Stairs
Climbing Stairs
Clone Graph
Clone Graph
Combination Sum |||
Combination Sum |||
Combinations
Combinations
Compare Version Numbers
Compare Version Numbers
Construct Binary Tree from Inorder and Postorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Construct Binary Tree from Preorder and Ignorer Traversl
Construct Binary Tree from Preorder and Ignorer Traversl
Container With Water
Container With Water
Contains Duplicate II
Contains Duplicate II
Convert Sorted Array to BST
Convert Sorted Array to BST
Convert Sorted List to BST
Convert Sorted List to BST
Count Complete Tree Nodes
Count Complete Tree Nodes
Count Primes(?)
Count Primes(?)
Course Schedule
Course Schedule
Course Schedule ||
Course Schedule ||
Decode Ways
Decode Ways
Delete Node in a Linked List
Delete Node in a Linked List
Different Ways to Add Parentheses
Different Ways to Add Parentheses
Divide Two Integers
Divide Two Integers
Evaluate Reverse Polish Notation
Evaluate Reverse Polish Notation
Excel Sheet Column Number
Excel Sheet Column Number
Excel Sheet Column Title
Excel Sheet Column Title
Find Minimum in Rotated Sorted Array ||
Find Minimum in Rotated Sorted Array ||
Find Minimum in Rotated sorted Array
Find Minimum in Rotated sorted Array
Find Peak Element
Find Peak Element
Find the Duplicate number
Find the Duplicate number
Fraction to Recurring Decimal
Fraction to Recurring Decimal
Gas Station
Gas Station
View all files
Repository files navigation
README
More
items
leetcode
practice code(first time)
About
practice code(first time)
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.