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 }}
piyushpp07
/
LeetCode-Solutions
Public template
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,935 Commits
1,935 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0 - 1 Knapsack Problem - GFG
0 - 1 Knapsack Problem - GFG
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0020-valid-parentheses
0020-valid-parentheses
0023-merge-k-sorted-lists
0023-merge-k-sorted-lists
0024-swap-nodes-in-pairs
0024-swap-nodes-in-pairs
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0035-search-insert-position
0035-search-insert-position
0059-spiral-matrix-ii
0059-spiral-matrix-ii
0060-permutation-sequence
0060-permutation-sequence
0064-minimum-path-sum
0064-minimum-path-sum
0066-plus-one
0066-plus-one
0071-simplify-path
0071-simplify-path
0072-edit-distance
0072-edit-distance
0077-combinations
0077-combinations
0087-scramble-string
0087-scramble-string
0090-subsets-ii
0090-subsets-ii
0101-symmetric-tree
0101-symmetric-tree
0103-binary-tree-zigzag-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0109-convert-sorted-list-to-binary-search-tree
0109-convert-sorted-list-to-binary-search-tree
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0124-binary-tree-maximum-path-sum
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0129-sum-root-to-leaf-numbers
0133-clone-graph
0133-clone-graph
0142-linked-list-cycle-ii
0142-linked-list-cycle-ii
0208-implement-trie-prefix-tree
0208-implement-trie-prefix-tree
0209-minimum-size-subarray-sum
0209-minimum-size-subarray-sum
0211-design-add-and-search-words-data-structure
0211-design-add-and-search-words-data-structure
0216-combination-sum-iii
0216-combination-sum-iii
0226-invert-binary-tree
0226-invert-binary-tree
0228-summary-ranges
0228-summary-ranges
0230-kth-smallest-element-in-a-bst
0230-kth-smallest-element-in-a-bst
0239-sliding-window-maximum
0239-sliding-window-maximum
0258-add-digits
0258-add-digits
0278-first-bad-version
0278-first-bad-version
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0316-remove-duplicate-letters
0316-remove-duplicate-letters
0319-bulb-switcher
0319-bulb-switcher
0334-increasing-triplet-subsequence
0334-increasing-triplet-subsequence
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0373-find-k-pairs-with-smallest-sums
0373-find-k-pairs-with-smallest-sums
0382-linked-list-random-node
0382-linked-list-random-node
0389-find-the-difference
0389-find-the-difference
0399-evaluate-division
0399-evaluate-division
0410-split-array-largest-sum
0410-split-array-largest-sum
0412-fizz-buzz
0412-fizz-buzz
0427-construct-quad-tree
0427-construct-quad-tree
0438-find-all-anagrams-in-a-string
0438-find-all-anagrams-in-a-string
0443-string-compression
0443-string-compression
0445-add-two-numbers-ii
0445-add-two-numbers-ii
0448-find-all-numbers-disappeared-in-an-array
0448-find-all-numbers-disappeared-in-an-array
0459-repeated-substring-pattern
0459-repeated-substring-pattern
0480-sliding-window-median
0480-sliding-window-median
0485-max-consecutive-ones
0485-max-consecutive-ones
0493-reverse-pairs
0493-reverse-pairs
0494-target-sum
0494-target-sum
0502-ipo
0502-ipo
0523-continuous-subarray-sum
0523-continuous-subarray-sum
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0547-number-of-provinces
0547-number-of-provinces
0552-student-attendance-record-ii
0552-student-attendance-record-ii
0567-permutation-in-string
0567-permutation-in-string
0605-can-place-flowers
0605-can-place-flowers
0643-maximum-average-subarray-i
0643-maximum-average-subarray-i
0649-dota2-senate
0649-dota2-senate
0652-find-duplicate-subtrees
0652-find-duplicate-subtrees
0662-maximum-width-of-binary-tree
0662-maximum-width-of-binary-tree
0673-number-of-longest-increasing-subsequence
0673-number-of-longest-increasing-subsequence
0676-implement-magic-dictionary
0676-implement-magic-dictionary
0677-map-sum-pairs
0677-map-sum-pairs
0688-knight-probability-in-chessboard
0688-knight-probability-in-chessboard
0704-binary-search
0704-binary-search
0725-split-linked-list-in-parts
0725-split-linked-list-in-parts
0735-asteroid-collision
0735-asteroid-collision
0744-find-smallest-letter-greater-than-target
0744-find-smallest-letter-greater-than-target
0763-partition-labels
0763-partition-labels
0771-jewels-and-stones
0771-jewels-and-stones
0783-minimum-distance-between-bst-nodes
0783-minimum-distance-between-bst-nodes
0785-is-graph-bipartite
0785-is-graph-bipartite
0802-find-eventual-safe-states
0802-find-eventual-safe-states
0834-sum-of-distances-in-tree
0834-sum-of-distances-in-tree
0839-similar-string-groups
0839-similar-string-groups
0864-shortest-path-to-get-all-keys
0864-shortest-path-to-get-all-keys
0875-koko-eating-bananas
0875-koko-eating-bananas
0879-profitable-schemes
0879-profitable-schemes
0894-all-possible-full-binary-trees
0894-all-possible-full-binary-trees
0912-sort-an-array
0912-sort-an-array
0915-partition-array-into-disjoint-intervals
0915-partition-array-into-disjoint-intervals
0934-shortest-bridge
0934-shortest-bridge
0946-validate-stack-sequences
0946-validate-stack-sequences
0956-tallest-billboard
0956-tallest-billboard
0958-check-completeness-of-a-binary-tree
0958-check-completeness-of-a-binary-tree
0983-minimum-cost-for-tickets
0983-minimum-cost-for-tickets
0992-subarrays-with-k-different-integers
0992-subarrays-with-k-different-integers
10-regular-expression-matching
10-regular-expression-matching
1009-complement-of-base-10-integer
1009-complement-of-base-10-integer
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
1013-partition-array-into-three-parts-with-equal-sum
1013-partition-array-into-three-parts-with-equal-sum
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1020-number-of-enclaves
1020-number-of-enclaves
View all files
Repository files navigation
README
More
items
codes-
About
Leetcode Solutions day wise questions and some problems
Resources
Readme
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.