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 }}
ssarmin
/
leetcode_practice
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
669 Commits
669 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum.cpp
1-two-sum.cpp
1-two-sum.py
1-two-sum.py
10-regular-expression-matching.cpp
10-regular-expression-matching.cpp
100-same-tree.cpp
100-same-tree.cpp
100-same-tree.py
100-same-tree.py
1004-max-consecutive-ones-iii.cpp
1004-max-consecutive-ones-iii.cpp
101-symmetric-tree.cpp
101-symmetric-tree.cpp
101-symmetric-tree.py
101-symmetric-tree.py
102-Binary_Tree_Level_Order_Traversal.cpp
102-Binary_Tree_Level_Order_Traversal.cpp
1020-number-of-enclaves.cpp
1020-number-of-enclaves.cpp
103-binary-tree-zigzag-level-order-traversal.cpp
103-binary-tree-zigzag-level-order-traversal.cpp
104-maximum-depth-of-binary-tree.cpp
104-maximum-depth-of-binary-tree.cpp
104-maximum-depth-of-binary-tree.py
104-maximum-depth-of-binary-tree.py
105-construct-binary-tree-from-preorder-and-inorder-traversal.cpp
105-construct-binary-tree-from-preorder-and-inorder-traversal.cpp
1056-confusing-number.cpp
1056-confusing-number.cpp
1059-all-paths-from-source-lead-to-destination.cpp
1059-all-paths-from-source-lead-to-destination.cpp
106-construct-binary-tree-from-inorder-and-postorder-traversal.cpp
106-construct-binary-tree-from-inorder-and-postorder-traversal.cpp
1061-lexicographically-smallest-equivalent-string.cpp
1061-lexicographically-smallest-equivalent-string.cpp
1071-greatest-common-divisor-of-strings.cpp
1071-greatest-common-divisor-of-strings.cpp
108-convert-sorted-array-to-binary-search-tree.cpp
108-convert-sorted-array-to-binary-search-tree.cpp
1086-high-five.cpp
1086-high-five.cpp
1087-brace-expansion.cpp
1087-brace-expansion.cpp
1091-shortest-path-in-binary-matrix.cpp
1091-shortest-path-in-binary-matrix.cpp
11-container-with-most-water.cpp
11-container-with-most-water.cpp
11-container-with-most-water.py
11-container-with-most-water.py
110-balanced-binary-tree.cpp
110-balanced-binary-tree.cpp
1100-find-k-length-substrings-with-no-repeated-characters.cpp
1100-find-k-length-substrings-with-no-repeated-characters.cpp
1110-delete-nodes-and-return-forest.cpp
1110-delete-nodes-and-return-forest.cpp
112-path-sum.cpp
112-path-sum.cpp
1120-maximum-average-subtree.cpp
1120-maximum-average-subtree.cpp
1129-shortest-path-with-alternating-colors.cpp
1129-shortest-path-with-alternating-colors.cpp
113-path-sum-ii.cpp
113-path-sum-ii.cpp
1133-largest-unique-number.cpp
1133-largest-unique-number.cpp
1134-armstrong-number.cpp
1134-armstrong-number.cpp
1135-connecting-cities-with-minimum-cost.cpp
1135-connecting-cities-with-minimum-cost.cpp
1137-n-th-tribonacci-number.cpp
1137-n-th-tribonacci-number.cpp
114-flatten-binary-tree-to-linked-list.cpp
114-flatten-binary-tree-to-linked-list.cpp
1143-longest-common-subsequence.cpp
1143-longest-common-subsequence.cpp
115-distinct-subsequences.cpp
115-distinct-subsequences.cpp
1150-check-if-a-number-is-majority-element-in-a-sorted-array.cpp
1150-check-if-a-number-is-majority-element-in-a-sorted-array.cpp
1161-maximum-level-sum-of-a-binary-tree.cpp
1161-maximum-level-sum-of-a-binary-tree.cpp
1165-single-row-keyboard.cpp
1165-single-row-keyboard.cpp
1167-minimum-cost-to-connect-sticks.cpp
1167-minimum-cost-to-connect-sticks.cpp
117-populating-next-right-pointers-in-each-node-ii.cpp
117-populating-next-right-pointers-in-each-node-ii.cpp
118-Pascals_Triangle.cpp
118-Pascals_Triangle.cpp
1197-minimum-knight-moves.cpp
1197-minimum-knight-moves.cpp
1198-find-smallest-common-element-in-all-rows.cpp
1198-find-smallest-common-element-in-all-rows.cpp
12-integer-to-roman.cpp
12-integer-to-roman.cpp
120-triangle.cpp
120-triangle.cpp
1200-minimum-absolute-difference.cpp
1200-minimum-absolute-difference.cpp
1202-smallest-string-with-swaps.cpp
1202-smallest-string-with-swaps.cpp
1207-unique-number-of-occurrences.cpp
1207-unique-number-of-occurrences.cpp
1209-remove-all-adjacent-duplicates-in-string-ii.cpp
1209-remove-all-adjacent-duplicates-in-string-ii.cpp
121-Best_Time_to_Buy_and_Sell_Stock.cpp
121-Best_Time_to_Buy_and_Sell_Stock.cpp
1214-two-sum-bsts.cpp
1214-two-sum-bsts.cpp
122-best-time-to-buy-and-sell-stock-ii.cpp
122-best-time-to-buy-and-sell-stock-ii.cpp
1228-missing-number-in-arithmetic-progression.cpp
1228-missing-number-in-arithmetic-progression.cpp
123-best-time-to-buy-and-sell-stock-iii.cpp
123-best-time-to-buy-and-sell-stock-iii.cpp
124-binary-tree-maximum-path-sum.cpp
124-binary-tree-maximum-path-sum.cpp
125-valid-palindrome.cpp
125-valid-palindrome.cpp
125-valid-palindrome.py
125-valid-palindrome.py
1254-number-of-closed-islands.cpp
1254-number-of-closed-islands.cpp
1268-search-suggestions-system.cpp
1268-search-suggestions-system.cpp
127-word-ladder.cpp
127-word-ladder.cpp
128-longest-consecutive-sequence.cpp
128-longest-consecutive-sequence.cpp
129-sum-root-to-leaf-numbers.cpp
129-sum-root-to-leaf-numbers.cpp
13-roman-to-integer.cpp
13-roman-to-integer.cpp
130-surrounded-regions.cpp
130-surrounded-regions.cpp
130-surrounded-regions.py
130-surrounded-regions.py
1306-jump-game-iii.cpp
1306-jump-game-iii.cpp
1318-minimum-flips-to-make-a-or-b-equal-to-c.cpp
1318-minimum-flips-to-make-a-or-b-equal-to-c.cpp
133-clone-graph.cpp
133-clone-graph.cpp
133-clone-graph.py
133-clone-graph.py
1334-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.cpp
1334-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.cpp
134-gas-station.cpp
134-gas-station.cpp
1343-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold.cpp
1343-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold.cpp
135-candy.cpp
135-candy.cpp
136-single-number.cpp
136-single-number.cpp
1368-minimum-cost-to-make-at-least-one-valid-path-in-a-grid.cpp
1368-minimum-cost-to-make-at-least-one-valid-path-in-a-grid.cpp
137-single-number-ii.cpp
137-single-number-ii.cpp
1372-longest-zigzag-path-in-a-binary-tree.cpp
1372-longest-zigzag-path-in-a-binary-tree.cpp
138-copy-list-with-random-pointer.cpp
138-copy-list-with-random-pointer.cpp
139-word-break.cpp
139-word-break.cpp
14-longest-common-prefix.cpp
14-longest-common-prefix.cpp
14-longest-common-prefix.py
14-longest-common-prefix.py
140-combination-sum-ii.cpp
140-combination-sum-ii.cpp
141-linked-list-cycle.cpp
141-linked-list-cycle.cpp
141-linked-list-cycle.py
141-linked-list-cycle.py
142-linked-list-cycle-ii.cpp
142-linked-list-cycle-ii.cpp
1426-counting-elements.cpp
1426-counting-elements.cpp
1427-perform-string-shifts.cpp
1427-perform-string-shifts.cpp
1429-first-unique-number.cpp
1429-first-unique-number.cpp
143-reorder-list.cpp
143-reorder-list.cpp
1431-kids-with-the-greatest-number-of-candies.cpp
1431-kids-with-the-greatest-number-of-candies.cpp
1448-count-good-nodes-in-binary-tree.cpp
1448-count-good-nodes-in-binary-tree.cpp
1456-maximum-number-of-vowels-in-a-substring-of-given-length.cpp
1456-maximum-number-of-vowels-in-a-substring-of-given-length.cpp
146-lru-cache.cpp
146-lru-cache.cpp
1466-minimum-flips-to-make-a-or-b-equal-to-c.cpp
1466-minimum-flips-to-make-a-or-b-equal-to-c.cpp
1466-reorder-routes-to-make-all-paths-lead-to-the-city-zero.cpp
1466-reorder-routes-to-make-all-paths-lead-to-the-city-zero.cpp
1472-design-browser-history.cpp
1472-design-browser-history.cpp
View all files
About
No description, website, or topics provided.
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.