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 }}
saquib4u
/
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
359 Commits
359 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0020-valid-parentheses
0020-valid-parentheses
0050-powx-n
0050-powx-n
0058-length-of-last-word
0058-length-of-last-word
0066-plus-one
0066-plus-one
0067-add-binary
0067-add-binary
0070-climbing-stairs
0070-climbing-stairs
0104-maximum-depth-of-binary-tree
0104-maximum-depth-of-binary-tree
0125-valid-palindrome
0125-valid-palindrome
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0182-duplicate-emails
0182-duplicate-emails
0191-number-of-1-bits
0191-number-of-1-bits
0202-happy-number
0202-happy-number
0217-contains-duplicate
0217-contains-duplicate
0223-rectangle-area
0223-rectangle-area
0232-implement-queue-using-stacks
0232-implement-queue-using-stacks
0242-valid-anagram
0242-valid-anagram
0258-add-digits
0258-add-digits
0263-ugly-number
0263-ugly-number
0268-missing-number
0268-missing-number
0283-move-zeroes
0283-move-zeroes
0287-find-the-duplicate-number
0287-find-the-duplicate-number
0303-range-sum-query-immutable
0303-range-sum-query-immutable
0326-power-of-three
0326-power-of-three
0342-power-of-four
0342-power-of-four
0344-reverse-string
0344-reverse-string
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0367-valid-perfect-square
0367-valid-perfect-square
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0383-ransom-note
0383-ransom-note
0389-find-the-difference
0389-find-the-difference
0404-sum-of-left-leaves
0404-sum-of-left-leaves
0415-add-strings
0415-add-strings
0433-minimum-genetic-mutation
0433-minimum-genetic-mutation
0441-arranging-coins
0441-arranging-coins
0459-repeated-substring-pattern
0459-repeated-substring-pattern
0496-next-greater-element-i
0496-next-greater-element-i
0507-perfect-number
0507-perfect-number
0509-fibonacci-number
0509-fibonacci-number
0511-game-play-analysis-i
0511-game-play-analysis-i
0566-reshape-the-matrix
0566-reshape-the-matrix
0586-customer-placing-the-largest-number-of-orders
0586-customer-placing-the-largest-number-of-orders
0589-n-ary-tree-preorder-traversal
0589-n-ary-tree-preorder-traversal
0709-to-lower-case
0709-to-lower-case
0766-toeplitz-matrix
0766-toeplitz-matrix
0876-middle-of-the-linked-list
0876-middle-of-the-linked-list
0953-verifying-an-alien-dictionary
0953-verifying-an-alien-dictionary
0976-largest-perimeter-triangle
0976-largest-perimeter-triangle
1050-actors-and-directors-who-cooperated-at-least-three-times
1050-actors-and-directors-who-cooperated-at-least-three-times
1084-sales-analysis-iii
1084-sales-analysis-iii
1141-user-activity-for-the-past-30-days-i
1141-user-activity-for-the-past-30-days-i
1158-market-analysis-i
1158-market-analysis-i
1232-check-if-it-is-a-straight-line
1232-check-if-it-is-a-straight-line
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1290-convert-binary-number-in-a-linked-list-to-integer
1290-convert-binary-number-in-a-linked-list-to-integer
1309-decrypt-string-from-alphabet-to-integer-mapping
1309-decrypt-string-from-alphabet-to-integer-mapping
1356-sort-integers-by-the-number-of-1-bits
1356-sort-integers-by-the-number-of-1-bits
1393-capital-gain-loss
1393-capital-gain-loss
1407-top-travellers
1407-top-travellers
1502-can-make-arithmetic-progression-from-sequence
1502-can-make-arithmetic-progression-from-sequence
1572-matrix-diagonal-sum
1572-matrix-diagonal-sum
1587-bank-account-summary-ii
1587-bank-account-summary-ii
1588-sum-of-all-odd-length-subarrays
1588-sum-of-all-odd-length-subarrays
1603-design-parking-system
1603-design-parking-system
1672-richest-customer-wealth
1672-richest-customer-wealth
1678-goal-parser-interpretation
1678-goal-parser-interpretation
1693-daily-leads-and-partners
1693-daily-leads-and-partners
1706-where-will-the-ball-fall
1706-where-will-the-ball-fall
1729-find-followers-count
1729-find-followers-count
1741-find-total-time-spent-by-each-employee
1741-find-total-time-spent-by-each-employee
1768-merge-strings-alternately
1768-merge-strings-alternately
1779-find-nearest-point-that-has-the-same-x-or-y-coordinate
1779-find-nearest-point-that-has-the-same-x-or-y-coordinate
1790-check-if-one-string-swap-can-make-strings-equal
1790-check-if-one-string-swap-can-make-strings-equal
1822-sign-of-the-product-of-an-array
1822-sign-of-the-product-of-an-array
1886-determine-whether-matrix-can-be-obtained-by-rotation
1886-determine-whether-matrix-can-be-obtained-by-rotation
1890-the-latest-login-in-2020
1890-the-latest-login-in-2020
Anagram - GFG
Anagram - GFG
Binary Search - GFG
Binary Search - GFG
Bubble Sort - GFG
Bubble Sort - GFG
Check if array is sorted - GFG
Check if array is sorted - GFG
Chocolate Distribution Problem - GFG
Chocolate Distribution Problem - GFG
Common elements - GFG
Common elements - GFG
Convert array into Zig-Zag fashion - GFG
Convert array into Zig-Zag fashion - GFG
Count Special Numbers - GFG
Count Special Numbers - GFG
Count pairs with given sum - GFG
Count pairs with given sum - GFG
Count the Substrings - GFG
Count the Substrings - GFG
Equilibrium Point - GFG
Equilibrium Point - GFG
Find all factorial numbers less than or equal to N - GFG
Find all factorial numbers less than or equal to N - GFG
First and last occurrences of x - GFG
First and last occurrences of x - GFG
First element to occur k times - GFG
First element to occur k times - GFG
Frequencies of Limited Range Array Elements - GFG
Frequencies of Limited Range Array Elements - GFG
Insertion Sort - GFG
Insertion Sort - GFG
Largest Element in Array - GFG
Largest Element in Array - GFG
Leaders in an array - GFG
Leaders in an array - GFG
Maximize Toys - GFG
Maximize Toys - GFG
Merge Sort - GFG
Merge Sort - GFG
Minimum Steps Required - GFG
Minimum Steps Required - GFG
Missing number - GFG
Missing number - GFG
Missing number in array - GFG
Missing number in array - GFG
Move all zeroes to end of array - GFG
Move all zeroes to end of array - GFG
Next Greater Element - GFG
Next Greater Element - GFG
View all files
Repository files navigation
README
More
items
leetcode-solutions
Leetcode solutions
About
No description, website, or topics provided.
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.