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
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 }}
ramiaffes
/
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
1,175 Commits
1,175 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0002-add-two-numbers
0002-add-two-numbers
0004-median-of-two-sorted-arrays
0004-median-of-two-sorted-arrays
0022-generate-parentheses
0022-generate-parentheses
0030-substring-with-concatenation-of-all-words
0030-substring-with-concatenation-of-all-words
0031-next-permutation
0031-next-permutation
0040-combination-sum-ii
0040-combination-sum-ii
0044-wildcard-matching
0044-wildcard-matching
0055-jump-game
0055-jump-game
0070-climbing-stairs
0070-climbing-stairs
0071-simplify-path
0071-simplify-path
0075-sort-colors
0075-sort-colors
0076-minimum-window-substring
0076-minimum-window-substring
0132-palindrome-partitioning-ii
0132-palindrome-partitioning-ii
0133-clone-graph
0133-clone-graph
0150-evaluate-reverse-polish-notation
0150-evaluate-reverse-polish-notation
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0175-combine-two-tables
0175-combine-two-tables
0176-second-highest-salary
0176-second-highest-salary
0177-nth-highest-salary
0177-nth-highest-salary
0178-rank-scores
0178-rank-scores
0180-consecutive-numbers
0180-consecutive-numbers
0181-employees-earning-more-than-their-managers
0181-employees-earning-more-than-their-managers
0182-duplicate-emails
0182-duplicate-emails
0184-department-highest-salary
0184-department-highest-salary
0185-department-top-three-salaries
0185-department-top-three-salaries
0189-rotate-array
0189-rotate-array
0196-delete-duplicate-emails
0196-delete-duplicate-emails
0197-rising-temperature
0197-rising-temperature
0198-house-robber
0198-house-robber
0205-isomorphic-strings
0205-isomorphic-strings
0213-house-robber-ii
0213-house-robber-ii
0232-implement-queue-using-stacks
0232-implement-queue-using-stacks
0239-sliding-window-maximum
0239-sliding-window-maximum
0262-trips-and-users
0262-trips-and-users
0279-perfect-squares
0279-perfect-squares
0300-longest-increasing-subsequence
0300-longest-increasing-subsequence
0322-coin-change
0322-coin-change
0329-longest-increasing-path-in-a-matrix
0329-longest-increasing-path-in-a-matrix
0342-power-of-four
0342-power-of-four
0368-largest-divisible-subset
0368-largest-divisible-subset
0376-wiggle-subsequence
0376-wiggle-subsequence
0377-combination-sum-iv
0377-combination-sum-iv
0386-lexicographical-numbers
0386-lexicographical-numbers
0399-evaluate-division
0399-evaluate-division
0416-partition-equal-subset-sum
0416-partition-equal-subset-sum
0435-non-overlapping-intervals
0435-non-overlapping-intervals
0472-concatenated-words
0472-concatenated-words
0511-game-play-analysis-i
0511-game-play-analysis-i
0516-longest-palindromic-subsequence
0516-longest-palindromic-subsequence
0537-complex-number-multiplication
0537-complex-number-multiplication
0550-game-play-analysis-iv
0550-game-play-analysis-iv
0570-managers-with-at-least-5-direct-reports
0570-managers-with-at-least-5-direct-reports
0576-out-of-boundary-paths
0576-out-of-boundary-paths
0577-employee-bonus
0577-employee-bonus
0585-investments-in-2016
0585-investments-in-2016
0586-customer-placing-the-largest-number-of-orders
0586-customer-placing-the-largest-number-of-orders
0592-fraction-addition-and-subtraction
0592-fraction-addition-and-subtraction
0595-big-countries
0595-big-countries
0596-classes-more-than-5-students
0596-classes-more-than-5-students
0601-human-traffic-of-stadium
0601-human-traffic-of-stadium
0602-friend-requests-ii-who-has-the-most-friends
0602-friend-requests-ii-who-has-the-most-friends
0607-sales-person
0607-sales-person
0608-tree-node
0608-tree-node
0610-triangle-judgement
0610-triangle-judgement
0611-valid-triangle-number
0611-valid-triangle-number
0619-biggest-single-number
0619-biggest-single-number
0620-not-boring-movies
0620-not-boring-movies
0626-exchange-seats
0626-exchange-seats
0645-set-mismatch
0645-set-mismatch
0646-maximum-length-of-pair-chain
0646-maximum-length-of-pair-chain
0650-2-keys-keyboard
0650-2-keys-keyboard
0658-find-k-closest-elements
0658-find-k-closest-elements
0677-map-sum-pairs
0677-map-sum-pairs
0684-redundant-connection
0684-redundant-connection
0689-maximum-sum-of-3-non-overlapping-subarrays
0689-maximum-sum-of-3-non-overlapping-subarrays
0718-maximum-length-of-repeated-subarray
0718-maximum-length-of-repeated-subarray
0721-accounts-merge
0721-accounts-merge
0740-delete-and-earn
0740-delete-and-earn
0763-partition-labels
0763-partition-labels
0769-max-chunks-to-make-sorted
0769-max-chunks-to-make-sorted
0781-rabbits-in-forest
0781-rabbits-in-forest
0787-cheapest-flights-within-k-stops
0787-cheapest-flights-within-k-stops
0791-custom-sort-string
0791-custom-sort-string
0792-number-of-matching-subsequences
0792-number-of-matching-subsequences
0802-find-eventual-safe-states
0802-find-eventual-safe-states
0827-making-a-large-island
0827-making-a-large-island
0828-count-unique-characters-of-all-substrings-of-a-given-string
0828-count-unique-characters-of-all-substrings-of-a-given-string
0869-reordered-power-of-2
0869-reordered-power-of-2
0873-length-of-longest-fibonacci-subsequence
0873-length-of-longest-fibonacci-subsequence
0904-fruit-into-baskets
0904-fruit-into-baskets
0924-minimize-malware-spread
0924-minimize-malware-spread
0931-minimum-falling-path-sum
0931-minimum-falling-path-sum
0970-powerful-integers
0970-powerful-integers
0978-longest-turbulent-subarray
0978-longest-turbulent-subarray
0980-unique-paths-iii
0980-unique-paths-iii
0984-string-without-aaa-or-bbb
0984-string-without-aaa-or-bbb
0992-subarrays-with-k-different-integers
0992-subarrays-with-k-different-integers
0996-number-of-squareful-arrays
0996-number-of-squareful-arrays
1007-minimum-domino-rotations-for-equal-row
1007-minimum-domino-rotations-for-equal-row
1020-number-of-enclaves
1020-number-of-enclaves
View all files
Repository files navigation
README
More
items
leetcode-solutions
leetcode profile:
https://leetcode.com/ramiaffes/
About
my leetcode solutions
Topics
binary-search
bitmasks
disjoint-unions
dynamic-programming
graph
implementation
math
number-theory
sql
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.