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 }}
umeshsakinala
/
Leetcode---Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
601 Commits
601 Commits
100.Same-Tree
100.Same-Tree
101.Symmetric Tree
101.Symmetric Tree
1011.Capacity-To-Ship-Packages-Within-D-Days
1011.Capacity-To-Ship-Packages-Within-D-Days
1020.Number-of-Enclaves
1020.Number-of-Enclaves
1027.Longest-Arithmetic-Subsequence
1027.Longest-Arithmetic-Subsequence
103.Binary-Tree-Zigzag-Level-Order-Traversal
103.Binary-Tree-Zigzag-Level-Order-Traversal
1035.Uncrossed-Lines
1035.Uncrossed-Lines
104.Maximum-Depth-of-Binary-Tree
104.Maximum-Depth-of-Binary-Tree
1046.Last-Stone-Weight
1046.Last-Stone-Weight
1048.Longest-String-Chain
1048.Longest-String-Chain
106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal
106.Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal
1061.Lexicographically-Smallest-Equivalent-String
1061.Lexicographically-Smallest-Equivalent-String
1071.Greatest-Common-Divisor-of-Strings
1071.Greatest-Common-Divisor-of-Strings
109.Convert-Sorted-List-to-Binary-Search-Tree
109.Convert-Sorted-List-to-Binary-Search-Tree
1091.Shortest-Path-in-Binary-Matrix
1091.Shortest-Path-in-Binary-Matrix
1095.Find-in-Mountain-Array
1095.Find-in-Mountain-Array
111.Minimum-Depth-of-Binary-Tree
111.Minimum-Depth-of-Binary-Tree
1125.Smallest-Sufficient-Team
1125.Smallest-Sufficient-Team
1129.Shortest-Path-with-Alternating-Colors
1129.Shortest-Path-with-Alternating-Colors
1137.Nth-Tribonacci-Number
1137.Nth-Tribonacci-Number
1140.Stone-Game-II
1140.Stone-Game-II
1146.Snapshot-Array
1146.Snapshot-Array
1155.Number-of-Dice-Rolls-With-Target-Sum
1155.Number-of-Dice-Rolls-With-Target-Sum
1160.Find-Words-That-Can-Be-Formed-by-Characters
1160.Find-Words-That-Can-Be-Formed-by-Characters
1161.Maximum-Level-Sum-of-a-Binary-Tree
1161.Maximum-Level-Sum-of-a-Binary-Tree
1162.As-Far-from-Land-as-Possible
1162.As-Far-from-Land-as-Possible
118.Pascal's-Triangle
118.Pascal's-Triangle
1187.Make-Array-Strictly-Increasing
1187.Make-Array-Strictly-Increasing
119.Pascal's-Triangle-II
119.Pascal's-Triangle-II
1203.Sort-Items-by-Groups-Respecting-Dependencies
1203.Sort-Items-by-Groups-Respecting-Dependencies
121.Best-Time-to-Buy-and-Sell-Stock
121.Best-Time-to-Buy-and-Sell-Stock
1218.Longest-Arithmetic-Subsequence-of-Given-Difference
1218.Longest-Arithmetic-Subsequence-of-Given-Difference
1220.Count-Vowels-Permutation
1220.Count-Vowels-Permutation
1232.Check-If-It-Is-a-Straight-Line
1232.Check-If-It-Is-a-Straight-Line
124.Binary-Tree-Maximum-Path-Sum
124.Binary-Tree-Maximum-Path-Sum
1254.Number-of-Closed-Islands
1254.Number-of-Closed-Islands
1266.Minimum-Time-Visiting-All-Points
1266.Minimum-Time-Visiting-All-Points
1269.Number-of-Ways-to-Stay-in-the-Same-Place-After-Some-Steps
1269.Number-of-Ways-to-Stay-in-the-Same-Place-After-Some-Steps
1282.Group-the-People-Given-the-Group-Size-They-Belong-To
1282.Group-the-People-Given-the-Group-Size-They-Belong-To
1287.Element-Appearing-More-Than-25%-In-Sorted-Array
1287.Element-Appearing-More-Than-25%-In-Sorted-Array
129.Sum-Root-to-Leaf-Numbers
129.Sum-Root-to-Leaf-Numbers
131.Palindrome-Partitioning
131.Palindrome-Partitioning
1312.Minimum-Insertion-Steps-to-Make-a-String-Palindrome
1312.Minimum-Insertion-Steps-to-Make-a-String-Palindrome
1318.Minimum-Flips-to-Make-a-OR-b-Equal-to-c
1318.Minimum-Flips-to-Make-a-OR-b-Equal-to-c
1319.Number-of-Operations-to-Make-Network-Connected
1319.Number-of-Operations-to-Make-Network-Connected
1326.Minimum-Number-of-Taps-to-Open-to-Water-a-Garden
1326.Minimum-Number-of-Taps-to-Open-to-Water-a-Garden
133.Clone-Graph
133.Clone-Graph
1335.Minimum-Difficulty-of-a-Job-Schedule
1335.Minimum-Difficulty-of-a-Job-Schedule
1337.The-K-Weakest-Rows-in-a-Matrix
1337.The-K-Weakest-Rows-in-a-Matrix
1339.Maximum-Product-of-Splitted-Binary-Tree
1339.Maximum-Product-of-Splitted-Binary-Tree
134.Gas-Station
134.Gas-Station
1345.Jump-Game-IV
1345.Jump-Game-IV
135.Candy
135.Candy
1351.Count-Negative-Numbers-in-a-Sorted-Matrixx
1351.Count-Negative-Numbers-in-a-Sorted-Matrixx
1359.Count-All-Valid-Pickup-and-Delivery-Options
1359.Count-All-Valid-Pickup-and-Delivery-Options
1361.Validate-Binary-Tree-Nodes
1361.Validate-Binary-Tree-Nodes
137.Single-Number-II
137.Single-Number-II
1372.Longest-ZigZag-Path-in-a-Binary-Tree
1372.Longest-ZigZag-Path-in-a-Binary-Tree
1376.Time-Needed-to-Inform-All-Employees
1376.Time-Needed-to-Inform-All-Employees
138.Copy-List-with-Random-Pointer
138.Copy-List-with-Random-Pointer
139.Word Break
139.Word Break
1396.Design-Underground-System
1396.Design-Underground-System
1402.Reducing-Dishes
1402.Reducing-Dishes
1406.Stone-Game-III
1406.Stone-Game-III
141.Linked-List-Cycle
141.Linked-List-Cycle
1416.Restore-The-Array
1416.Restore-The-Array
142.Linked-List-Cycle-II
142.Linked-List-Cycle-II
1420.Build Array Where You Can Find The Maximum Exactly K Comparisons
1420.Build Array Where You Can Find The Maximum Exactly K Comparisons
1422.Maximum-Score-After-Splitting-a-String
1422.Maximum-Score-After-Splitting-a-String
1424.Diagonal-Traverse-II
1424.Diagonal-Traverse-II
1425.Constrained-Subsequence-Sum
1425.Constrained-Subsequence-Sum
1431.Kids-With-the-Greatest-Number-of-Candies
1431.Kids-With-the-Greatest-Number-of-Candies
1436.Destination-City
1436.Destination-City
144.Binary-Tree-Preorder-Traversal
144.Binary-Tree-Preorder-Traversal
1443.Minimum-Time-to-Collect-All-Apples-in-a-Tree
1443.Minimum-Time-to-Collect-All-Apples-in-a-Tree
1444.Number-of-Ways-of-Cutting-a-Pizza
1444.Number-of-Ways-of-Cutting-a-Pizza
1456.Maximum-Number-of-Vowels-in-a-Substring-of-Given-Length
1456.Maximum-Number-of-Vowels-in-a-Substring-of-Given-Length
1458.Max-Dot-Product-of-Two-Subsequences
1458.Max-Dot-Product-of-Two-Subsequences
146.LRU-Cache
146.LRU-Cache
1464.Maximum-Product-of-Two-Elements-in-an-Array
1464.Maximum-Product-of-Two-Elements-in-an-Array
1466.Reorder-Routes-to-Make-All-Paths-Lead-to-the-City-Zero
1466.Reorder-Routes-to-Make-All-Paths-Lead-to-the-City-Zero
1470.Shuffle-the-Array
1470.Shuffle-the-Array
1472.Design-Browser-History
1472.Design-Browser-History
1489.Find-Critical-and-Pseudo-Critical-Edges-in-Minimum-Spanning-Tree
1489.Find-Critical-and-Pseudo-Critical-Edges-in-Minimum-Spanning-Tree
149.Max-Points-on-a-Line
149.Max-Points-on-a-Line
1491.Average-Salary-Excluding-the-Minimum-and-Maximum-Salary
1491.Average-Salary-Excluding-the-Minimum-and-Maximum-Salary
1493.Longest-Subarray-of-1's-After-Deleting-One-Element
1493.Longest-Subarray-of-1's-After-Deleting-One-Element
1496.Path-Crossing
1496.Path-Crossing
1498.Number-of-Subsequences-That-Satisfy-the-Given-Sum-Condition
1498.Number-of-Subsequences-That-Satisfy-the-Given-Sum-Condition
1502.Can-Make-Arithmetic-Progression-From-Sequence
1502.Can-Make-Arithmetic-Progression-From-Sequence
1503.Last-Moment-Before-All-Ants-Fall-Out-of-a-Plank
1503.Last-Moment-Before-All-Ants-Fall-Out-of-a-Plank
151.Reverse-Words-in-a-String
151.Reverse-Words-in-a-String
1512.Number-of-Good-Pairs
1512.Number-of-Good-Pairs
1514.Path-with-Maximum-Probability
1514.Path-with-Maximum-Probability
1519.Number-of-Nodes-in-the-Sub-Tree-With-the-Same-label
1519.Number-of-Nodes-in-the-Sub-Tree-With-the-Same-label
1523.Count-Odd-Numbers-in-an-Interval-Range
1523.Count-Odd-Numbers-in-an-Interval-Range
1531.String-Compression-II
1531.String-Compression-II
1539.Kth-Missing-Positive-Number
1539.Kth-Missing-Positive-Number
1547.Minimum-Cost-to-Cut-a-Stick
1547.Minimum-Cost-to-Cut-a-Stick
1557.Minimum-Number-of-Vertices-to-Reach-All-Nodes
1557.Minimum-Number-of-Vertices-to-Reach-All-Nodes
View all files
About
No description or website provided.
Topics
cpp
dsa
java
python3
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.