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 }}
Jay9874
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
734 Commits
734 Commits
0002-add-two-numbers
0002-add-two-numbers
0006-zigzag-conversion
0006-zigzag-conversion
0012-integer-to-roman
0012-integer-to-roman
0014-longest-common-prefix
0014-longest-common-prefix
0020-valid-parentheses
0020-valid-parentheses
0023-merge-k-sorted-lists
0023-merge-k-sorted-lists
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
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
0036-valid-sudoku
0036-valid-sudoku
0045-jump-game-ii
0045-jump-game-ii
0057-insert-interval
0057-insert-interval
0067-add-binary
0067-add-binary
0071-simplify-path
0071-simplify-path
0072-edit-distance
0072-edit-distance
0076-minimum-window-substring
0076-minimum-window-substring
0079-word-search
0079-word-search
0093-restore-ip-addresses
0093-restore-ip-addresses
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
0124-binary-tree-maximum-path-sum
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0129-sum-root-to-leaf-numbers
0131-palindrome-partitioning
0131-palindrome-partitioning
0134-gas-station
0134-gas-station
0142-linked-list-cycle-ii
0142-linked-list-cycle-ii
0144-binary-tree-preorder-traversal
0144-binary-tree-preorder-traversal
0146-lru-cache
0146-lru-cache
0149-max-points-on-a-line
0149-max-points-on-a-line
0175-combine-two-tables
0175-combine-two-tables
0198-house-robber
0198-house-robber
0223-rectangle-area
0223-rectangle-area
0224-basic-calculator
0224-basic-calculator
0226-invert-binary-tree
0226-invert-binary-tree
0232-implement-queue-using-stacks
0232-implement-queue-using-stacks
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0238-product-of-array-except-self
0238-product-of-array-except-self
0263-ugly-number
0263-ugly-number
0279-perfect-squares
0279-perfect-squares
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0334-increasing-triplet-subsequence
0334-increasing-triplet-subsequence
0352-data-stream-as-disjoint-intervals
0352-data-stream-as-disjoint-intervals
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0380-insert-delete-getrandom-o1
0380-insert-delete-getrandom-o1
0382-linked-list-random-node
0382-linked-list-random-node
0409-41-2997-minimum-number-of-operations-to-make-array-xor-equal-to-k
0409-41-2997-minimum-number-of-operations-to-make-array-xor-equal-to-k
0416-22-3110-score-of-a-string
0416-22-3110-score-of-a-string
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
0451-sort-characters-by-frequency
0451-sort-characters-by-frequency
0452-minimum-number-of-arrows-to-burst-balloons
0452-minimum-number-of-arrows-to-burst-balloons
0460-lfu-cache
0460-lfu-cache
0472-concatenated-words
0472-concatenated-words
0487-70-3075-maximize-happiness-of-selected-children
0487-70-3075-maximize-happiness-of-selected-children
0491-non-decreasing-subsequences
0491-non-decreasing-subsequences
0502-ipo
0502-ipo
0506-relative-ranks
0506-relative-ranks
0513-45-2365-task-scheduler-ii
0513-45-2365-task-scheduler-ii
0516-longest-palindromic-subsequence
0516-longest-palindromic-subsequence
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0567-permutation-in-string
0567-permutation-in-string
0587-erect-the-fence
0587-erect-the-fence
0645-set-mismatch
0645-set-mismatch
0692-top-k-frequent-words
0692-top-k-frequent-words
0739-daily-temperatures
0739-daily-temperatures
0747-2045-808-soup-servings
0747-2045-808-soup-servings
0783-minimum-distance-between-bst-nodes
0783-minimum-distance-between-bst-nodes
0787-cheapest-flights-within-k-stops
0787-cheapest-flights-within-k-stops
0789-20-2696-minimum-string-length-after-removing-substrings
0789-20-2696-minimum-string-length-after-removing-substrings
0855-30-2807-insert-greatest-common-divisors-in-linked-list
0855-30-2807-insert-greatest-common-divisors-in-linked-list
0863-all-nodes-distance-k-in-binary-tree
0863-all-nodes-distance-k-in-binary-tree
0875-koko-eating-bananas
0875-koko-eating-bananas
0876-middle-of-the-linked-list
0876-middle-of-the-linked-list
0881-boats-to-save-people
0881-boats-to-save-people
0888-26-2485-find-the-pivot-integer
0888-26-2485-find-the-pivot-integer
0899-orderly-queue
0899-orderly-queue
0904-fruit-into-baskets
0904-fruit-into-baskets
0912-sort-an-array
0912-sort-an-array
0926-flip-string-to-monotone-increasing
0926-flip-string-to-monotone-increasing
0930-binary-subarrays-with-sum
0930-binary-subarrays-with-sum
0934-23-2816-double-a-number-represented-as-a-linked-list
0934-23-2816-double-a-number-represented-as-a-linked-list
0944-delete-columns-to-make-sorted
0944-delete-columns-to-make-sorted
0946-validate-stack-sequences
0946-validate-stack-sequences
0953-verifying-an-alien-dictionary
0953-verifying-an-alien-dictionary
0958-check-completeness-of-a-binary-tree
0958-check-completeness-of-a-binary-tree
0974-subarray-sums-divisible-by-k
0974-subarray-sums-divisible-by-k
0976-largest-perimeter-triangle
0976-largest-perimeter-triangle
0989-add-to-array-form-of-integer
0989-add-to-array-form-of-integer
0991-58-1601-maximum-number-of-achievable-transfer-requests
0991-58-1601-maximum-number-of-achievable-transfer-requests
0997-find-the-town-judge
0997-find-the-town-judge
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
10212-375-24-swap-nodes-in-pairs
10212-375-24-swap-nodes-in-pairs
10218-178-85-maximal-rectangle
10218-178-85-maximal-rectangle
10280-1441-202-happy-number
10280-1441-202-happy-number
1053-132-2373-largest-local-values-in-a-matrix
1053-132-2373-largest-local-values-in-a-matrix
10603-680-110-balanced-binary-tree
10603-680-110-balanced-binary-tree
1061-lexicographically-smallest-equivalent-string
1061-lexicographically-smallest-equivalent-string
View all files
Repository files navigation
README
More
items
LeetCode
All my LeetCode problems and their solutions.
About
All my LeetCode problems and their solutions.
leetcode.com/Jay9874/
Topics
algorithms-and-data-structures
competitive-programming
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.