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 }}
heissanjay
/
Leetcode
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
316 Commits
316 Commits
0004-median-of-two-sorted-arrays
0004-median-of-two-sorted-arrays
0015-3sum
0015-3sum
0017-letter-combinations-of-a-phone-number
0017-letter-combinations-of-a-phone-number
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0039-combination-sum
0039-combination-sum
0040-combination-sum-ii
0040-combination-sum-ii
0046-permutations
0046-permutations
0048-rotate-image
0048-rotate-image
0049-group-anagrams
0049-group-anagrams
0050-powx-n
0050-powx-n
0051-n-queens
0051-n-queens
0069-sqrtx
0069-sqrtx
0074-search-a-2d-matrix
0074-search-a-2d-matrix
0077-combinations
0077-combinations
0078-subsets
0078-subsets
0090-subsets-ii
0090-subsets-ii
0095-unique-binary-search-trees-ii
0095-unique-binary-search-trees-ii
0101-symmetric-tree
0101-symmetric-tree
0111-minimum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0125-valid-palindrome
0125-valid-palindrome
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0139-word-break
0139-word-break
0207-course-schedule
0207-course-schedule
0215-kth-largest-element-in-an-array
0215-kth-largest-element-in-an-array
0228-summary-ranges
0228-summary-ranges
0238-product-of-array-except-self
0238-product-of-array-except-self
0242-valid-anagram
0242-valid-anagram
0278-first-bad-version
0278-first-bad-version
0347-top-k-frequent-elements
0347-top-k-frequent-elements
0349-intersection-of-two-arrays
0349-intersection-of-two-arrays
0355-design-twitter
0355-design-twitter
0373-find-k-pairs-with-smallest-sums
0373-find-k-pairs-with-smallest-sums
0399-evaluate-division
0399-evaluate-division
0486-predict-the-winner
0486-predict-the-winner
0494-target-sum
0494-target-sum
0506-relative-ranks
0506-relative-ranks
0530-minimum-absolute-difference-in-bst
0530-minimum-absolute-difference-in-bst
0547-number-of-provinces
0547-number-of-provinces
0557-reverse-words-in-a-string-iii
0557-reverse-words-in-a-string-iii
0621-task-scheduler
0621-task-scheduler
0664-strange-printer
0664-strange-printer
0703-kth-largest-element-in-a-stream
0703-kth-largest-element-in-a-stream
0705-design-hashset
0705-design-hashset
0712-minimum-ascii-delete-sum-for-two-strings
0712-minimum-ascii-delete-sum-for-two-strings
0714-best-time-to-buy-and-sell-stock-with-transaction-fee
0714-best-time-to-buy-and-sell-stock-with-transaction-fee
0733-flood-fill
0733-flood-fill
0744-find-smallest-letter-greater-than-target
0744-find-smallest-letter-greater-than-target
0783-minimum-distance-between-bst-nodes
0783-minimum-distance-between-bst-nodes
0802-find-eventual-safe-states
0802-find-eventual-safe-states
0808-soup-servings
0808-soup-servings
0837-new-21-game
0837-new-21-game
0852-peak-index-in-a-mountain-array
0852-peak-index-in-a-mountain-array
0863-all-nodes-distance-k-in-binary-tree
0863-all-nodes-distance-k-in-binary-tree
0894-all-possible-full-binary-trees
0894-all-possible-full-binary-trees
0920-number-of-music-playlists
0920-number-of-music-playlists
0934-shortest-bridge
0934-shortest-bridge
0956-tallest-billboard
0956-tallest-billboard
1027-longest-arithmetic-subsequence
1027-longest-arithmetic-subsequence
1091-shortest-path-in-binary-matrix
1091-shortest-path-in-binary-matrix
1140-stone-game-ii
1140-stone-game-ii
1146-snapshot-array
1146-snapshot-array
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
1187-make-array-strictly-increasing
1187-make-array-strictly-increasing
1218-longest-arithmetic-subsequence-of-given-difference
1218-longest-arithmetic-subsequence-of-given-difference
1232-check-if-it-is-a-straight-line
1232-check-if-it-is-a-straight-line
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1376-time-needed-to-inform-all-employees
1376-time-needed-to-inform-all-employees
1396-design-underground-system
1396-design-underground-system
1406-stone-game-iii
1406-stone-game-iii
1413-minimum-value-to-get-positive-step-by-step-sum
1413-minimum-value-to-get-positive-step-by-step-sum
1502-can-make-arithmetic-progression-from-sequence
1502-can-make-arithmetic-progression-from-sequence
1544-make-the-string-great
1544-make-the-string-great
1547-minimum-cost-to-cut-a-stick
1547-minimum-cost-to-cut-a-stick
1569-number-of-ways-to-reorder-array-to-get-same-bst
1569-number-of-ways-to-reorder-array-to-get-same-bst
1575-count-all-possible-routes
1575-count-all-possible-routes
1603-design-parking-system
1603-design-parking-system
1647-minimum-deletions-to-make-character-frequencies-unique
1647-minimum-deletions-to-make-character-frequencies-unique
1732-find-the-highest-altitude
1732-find-the-highest-altitude
1802-maximum-value-at-a-given-index-in-a-bounded-array
1802-maximum-value-at-a-given-index-in-a-bounded-array
1870-minimum-speed-to-arrive-on-time
1870-minimum-speed-to-arrive-on-time
1930-unique-length-3-palindromic-subsequences
1930-unique-length-3-palindromic-subsequences
1980-find-unique-binary-string
1980-find-unique-binary-string
2090-k-radius-subarray-averages
2090-k-radius-subarray-averages
2101-detonate-the-maximum-bombs
2101-detonate-the-maximum-bombs
2141-maximum-running-time-of-n-computers
2141-maximum-running-time-of-n-computers
2328-number-of-increasing-paths-in-a-grid
2328-number-of-increasing-paths-in-a-grid
2335-minimum-amount-of-time-to-fill-cups
2335-minimum-amount-of-time-to-fill-cups
2352-Equal-Row-and-Column Pairs
2352-Equal-Row-and-Column Pairs
2448-minimum-cost-to-make-array-equal
2448-minimum-cost-to-make-array-equal
2462-total-cost-to-hire-k-workers
2462-total-cost-to-hire-k-workers
2542-maximum-subsequence-score
2542-maximum-subsequence-score
2708-maximum-strength-of-a-group
2708-maximum-strength-of-a-group
BFS of graph - GFG
BFS of graph - GFG
DFS of Graph - GFG
DFS of Graph - GFG
Find the number of islands - GFG
Find the number of islands - GFG
leetcode-75
leetcode-75
README.md
README.md
View all files
Repository files navigation
README
More
items
leetcode
Collection of LeetCode questions to ace the coding interview! - Created using
LeetHub
About
Leetcode
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.