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 }}
avisrivas
/
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
Latest commit
History
1 Commit
1 Commit
Folders and files
Name
Name
Last commit message
Last commit date
01-matrix
01-matrix
2-keys-keyboard/
Accepted/
1-2-2025, 4_17_33 AM
2-keys-keyboard/
Accepted/
1-2-2025, 4_17_33 AM
3sum-closest/
Accepted
3sum-closest/
Accepted
3sum
3sum
accounts-merge/
Accepted
accounts-merge/
Accepted
add-binary/
Accepted/
11-2-2023, 7_09_00 PM
add-binary/
Accepted/
11-2-2023, 7_09_00 PM
add-two-numbers/
Accepted
add-two-numbers/
Accepted
adding-spaces-to-a-string/
Accepted/
1-4-2025, 10_18_53 AM
adding-spaces-to-a-string/
Accepted/
1-4-2025, 10_18_53 AM
adjacent-increasing-subarrays-detection-ii
adjacent-increasing-subarrays-detection-ii
all-nodes-distance-k-in-binary-tree
all-nodes-distance-k-in-binary-tree
all-oone-data-structure
all-oone-data-structure
alternating-groups-ii/
Accepted
alternating-groups-ii/
Accepted
append-characters-to-string-to-make-subsequence/
Accepted/
4-19-2025, 12_43_28 AM
append-characters-to-string-to-make-subsequence/
Accepted/
4-19-2025, 12_43_28 AM
apply-operations-to-an-array/
Accepted/
3-1-2025, 5_06_01 PM
apply-operations-to-an-array/
Accepted/
3-1-2025, 5_06_01 PM
apply-operations-to-maximize-score
apply-operations-to-maximize-score
asteroid-collision
asteroid-collision
backspace-string-compare
backspace-string-compare
balanced-binary-tree/
Accepted
balanced-binary-tree/
Accepted
basic-calculator-ii
basic-calculator-ii
basic-calculator
basic-calculator
best-sightseeing-pair
best-sightseeing-pair
best-time-to-buy-and-sell-stock-iv/
Accepted
best-time-to-buy-and-sell-stock-iv/
Accepted
best-time-to-buy-and-sell-stock-with-cooldown/
Accepted
best-time-to-buy-and-sell-stock-with-cooldown/
Accepted
best-time-to-buy-and-sell-stock-with-transaction-fee/
Accepted/
3-4-2025, 11_18_16 PM
best-time-to-buy-and-sell-stock-with-transaction-fee/
Accepted/
3-4-2025, 11_18_16 PM
best-time-to-buy-and-sell-stock/
Accepted/
10-30-2023, 5_52_46 PM
best-time-to-buy-and-sell-stock/
Accepted/
10-30-2023, 5_52_46 PM
binary-search/
Accepted/
10-30-2023, 6_53_24 PM
binary-search/
Accepted/
10-30-2023, 6_53_24 PM
binary-tree-inorder-traversal/
Accepted/
1-8-2025, 5_36_40 PM
binary-tree-inorder-traversal/
Accepted/
1-8-2025, 5_36_40 PM
binary-tree-level-order-traversal/
Accepted
binary-tree-level-order-traversal/
Accepted
binary-tree-maximum-path-sum
binary-tree-maximum-path-sum
binary-tree-right-side-view/
Accepted
binary-tree-right-side-view/
Accepted
binary-tree-zigzag-level-order-traversal
binary-tree-zigzag-level-order-traversal
bitwise-xor-of-all-pairings/
Accepted/
1-17-2025, 1_57_29 AM
bitwise-xor-of-all-pairings/
Accepted/
1-17-2025, 1_57_29 AM
bus-routes
bus-routes
car-pooling/
Accepted/
3-22-2026, 7_01_10 PM
car-pooling/
Accepted/
3-22-2026, 7_01_10 PM
cheapest-flights-within-k-stops
cheapest-flights-within-k-stops
check-if-a-parentheses-string-can-be-valid
check-if-a-parentheses-string-can-be-valid
check-if-array-is-sorted-and-rotated/
Accepted/
2-2-2025, 6_07_32 PM
check-if-array-is-sorted-and-rotated/
Accepted/
2-2-2025, 6_07_32 PM
check-if-array-pairs-are-divisible-by-k/
Accepted/
1-6-2025, 12_27_17 PM
check-if-array-pairs-are-divisible-by-k/
Accepted/
1-6-2025, 12_27_17 PM
check-if-grid-can-be-cut-into-sections/
Accepted
check-if-grid-can-be-cut-into-sections/
Accepted
check-if-number-is-a-sum-of-powers-of-three
check-if-number-is-a-sum-of-powers-of-three
check-if-one-string-swap-can-make-strings-equal/
Accepted/
2-5-2025, 11_39_52 PM
check-if-one-string-swap-can-make-strings-equal/
Accepted/
2-5-2025, 11_39_52 PM
clear-digits
clear-digits
climbing-stairs/
Accepted
climbing-stairs/
Accepted
clone-graph/
Accepted
clone-graph/
Accepted
closest-prime-numbers-in-range
closest-prime-numbers-in-range
coin-change-ii
coin-change-ii
coin-change
coin-change
combination-sum-ii
combination-sum-ii
combination-sum-iii/
Accepted/
5-1-2025, 12_03_56 PM
combination-sum-iii/
Accepted/
5-1-2025, 12_03_56 PM
combination-sum-iv
combination-sum-iv
combination-sum/
Accepted
combination-sum/
Accepted
concatenated-words
concatenated-words
construct-binary-search-tree-from-preorder-traversal/
Accepted/
5-20-2024, 4_31_44 PM
construct-binary-search-tree-from-preorder-traversal/
Accepted/
5-20-2024, 4_31_44 PM
construct-binary-tree-from-inorder-and-postorder-traversal/
Accepted/
5-22-2024, 8_17_03 PM
construct-binary-tree-from-inorder-and-postorder-traversal/
Accepted/
5-22-2024, 8_17_03 PM
construct-binary-tree-from-preorder-and-inorder-traversal/
Accepted
construct-binary-tree-from-preorder-and-inorder-traversal/
Accepted
construct-binary-tree-from-preorder-and-postorder-traversal/
Accepted
construct-binary-tree-from-preorder-and-postorder-traversal/
Accepted
construct-k-palindrome-strings/
Accepted/
1-11-2025, 2_52_07 PM
construct-k-palindrome-strings/
Accepted/
1-11-2025, 2_52_07 PM
construct-smallest-number-from-di-string/
Accepted
construct-smallest-number-from-di-string/
Accepted
construct-string-with-repeat-limit
construct-string-with-repeat-limit
construct-the-lexicographically-largest-valid-sequence/
Accepted
construct-the-lexicographically-largest-valid-sequence/
Accepted
container-with-most-water/
Accepted
container-with-most-water/
Accepted
contains-duplicate/
Accepted/
11-3-2023, 2_16_56 PM
contains-duplicate/
Accepted/
11-3-2023, 2_16_56 PM
contiguous-array
contiguous-array
continuous-subarrays
continuous-subarrays
convert-sorted-array-to-binary-search-tree/
Accepted
convert-sorted-array-to-binary-search-tree/
Accepted
copy-list-with-random-pointer/
Accepted
copy-list-with-random-pointer/
Accepted
count-and-say/
Accepted/
4-18-2025, 6_31_54 PM
count-and-say/
Accepted/
4-18-2025, 6_31_54 PM
count-complete-subarrays-in-an-array/
Accepted/
4-25-2025, 1_32_20 AM
count-complete-subarrays-in-an-array/
Accepted/
4-25-2025, 1_32_20 AM
count-days-without-meetings
count-days-without-meetings
count-equal-and-divisible-pairs-in-an-array/
Accepted/
4-17-2025, 7_15_46 PM
count-equal-and-divisible-pairs-in-an-array/
Accepted/
4-17-2025, 7_15_46 PM
count-good-numbers/
Accepted/
4-13-2025, 1_46_57 PM
count-good-numbers/
Accepted/
4-13-2025, 1_46_57 PM
count-good-triplets-in-an-array
count-good-triplets-in-an-array
count-good-triplets/
Accepted/
4-14-2025, 1_12_58 PM
count-good-triplets/
Accepted/
4-14-2025, 1_12_58 PM
count-largest-group/
Accepted
count-largest-group/
Accepted
count-number-of-bad-pairs/
Accepted/
2-10-2025, 12_00_45 AM
count-number-of-bad-pairs/
Accepted/
2-10-2025, 12_00_45 AM
count-number-of-maximum-bitwise-or-subsets
count-number-of-maximum-bitwise-or-subsets
count-of-interesting-subarrays
count-of-interesting-subarrays
count-of-smaller-numbers-after-self
count-of-smaller-numbers-after-self
count-of-substrings-containing-every-vowel-and-k-consonants-ii
count-of-substrings-containing-every-vowel-and-k-consonants-ii
count-prefix-and-suffix-pairs-i/
Accepted
count-prefix-and-suffix-pairs-i/
Accepted
count-servers-that-communicate/
Accepted/
1-24-2025, 2_26_37 AM
count-servers-that-communicate/
Accepted/
1-24-2025, 2_26_37 AM
count-square-submatrices-with-all-ones/
Accepted/
1-6-2025, 2_15_58 AM
count-square-submatrices-with-all-ones/
Accepted/
1-6-2025, 2_15_58 AM
count-sub-islands/
Accepted/
1-1-2025, 3_46_50 AM
count-sub-islands/
Accepted/
1-1-2025, 3_46_50 AM
count-subarrays-of-length-three-with-a-condition/
Accepted/
4-27-2025, 3_04_25 PM
count-subarrays-of-length-three-with-a-condition/
Accepted/
4-27-2025, 3_04_25 PM
count-subarrays-where-max-element-appears-at-least-k-times/
Accepted
count-subarrays-where-max-element-appears-at-least-k-times/
Accepted
count-subarrays-with-fixed-bounds
count-subarrays-with-fixed-bounds
count-subarrays-with-score-less-than-k/
Accepted
count-subarrays-with-score-less-than-k/
Accepted
count-submatrices-with-top-left-element-and-sum-less-than-k/
Accepted
count-submatrices-with-top-left-element-and-sum-less-than-k/
Accepted
count-symmetric-integers
count-symmetric-integers
count-the-hidden-sequences
count-the-hidden-sequences
count-the-number-of-complete-components/
Accepted
count-the-number-of-complete-components/
Accepted
count-the-number-of-fair-pairs/
Accepted
count-the-number-of-fair-pairs/
Accepted
count-the-number-of-good-subarrays/
Accepted/
4-16-2025, 6_03_34 PM
count-the-number-of-good-subarrays/
Accepted/
4-16-2025, 6_03_34 PM
count-the-number-of-ideal-arrays/
Accepted/
4-22-2025, 8_18_09 PM
count-the-number-of-ideal-arrays/
Accepted/
4-22-2025, 8_18_09 PM
count-the-number-of-powerful-integers/
Accepted/
4-10-2025, 3_33_05 PM
count-the-number-of-powerful-integers/
Accepted/
4-10-2025, 3_33_05 PM
count-total-number-of-colored-cells/
Accepted
count-total-number-of-colored-cells/
Accepted
count-unguarded-cells-in-the-grid/
Accepted/
1-7-2025, 1_54_08 PM
count-unguarded-cells-in-the-grid/
Accepted/
1-7-2025, 1_54_08 PM
count-vowel-strings-in-ranges/
Accepted
count-vowel-strings-in-ranges/
Accepted
count-vowels-permutation/
Accepted
count-vowels-permutation/
Accepted
count-ways-to-build-good-strings/
Accepted
count-ways-to-build-good-strings/
Accepted
View all files
About
LeetCode Java submissions
Topics
blind75
grind169
interview
leetcode
leetcode-java
sde
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.