René's URL Explorer Experiment


Title: GitHub - rayworks/algorithms: The notes for all the algorithm problems I solved

Open Graph Title: GitHub - rayworks/algorithms: The notes for all the algorithm problems I solved

X Title: GitHub - rayworks/algorithms: The notes for all the algorithm problems I solved

Description: The notes for all the algorithm problems I solved. Contribute to rayworks/algorithms development by creating an account on GitHub.

Open Graph Description: The notes for all the algorithm problems I solved. Contribute to rayworks/algorithms development by creating an account on GitHub.

X Description: The notes for all the algorithm problems I solved. Contribute to rayworks/algorithms development by creating an account on GitHub.

Opengraph URL: https://github.com/rayworks/algorithms

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:bf0d1f61-aae0-7100-b63d-b60f9bc1e4dc
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8062:1DC4AD:2FAE0B6:3FBDB3B:696F1CE8
html-safe-nonce9181c74f98487888c20393661670d9755d4c924a3a8edf96159626f17bcb0684
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDYyOjFEQzRBRDoyRkFFMEI2OjNGQkRCM0I6Njk2RjFDRTgiLCJ2aXNpdG9yX2lkIjoiNDExNjUxNDMyMjkwMjg4MzU2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace427c7b280f075d40ca61bf960f902b0d62bec0f24ec54199d3efea65efc8fc4
hovercard-subject-tagrepository:74121391
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/rayworks/algorithms
twitter:imagehttps://opengraph.githubassets.com/347786db5d2df68f454289cb34d95acf9a7c88233d32b03a942ea79a6a89a6d8/rayworks/algorithms
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/347786db5d2df68f454289cb34d95acf9a7c88233d32b03a942ea79a6a89a6d8/rayworks/algorithms
og:image:altThe notes for all the algorithm problems I solved. Contribute to rayworks/algorithms development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/rayworks/algorithms git https://github.com/rayworks/algorithms.git
octolytics-dimension-user_id1329281
octolytics-dimension-user_loginrayworks
octolytics-dimension-repository_id74121391
octolytics-dimension-repository_nworayworks/algorithms
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74121391
octolytics-dimension-repository_network_root_nworayworks/algorithms
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/rayworks/algorithms#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frayworks%2Falgorithms
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frayworks%2Falgorithms
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=rayworks%2Falgorithms
Reloadhttps://patch-diff.githubusercontent.com/rayworks/algorithms
Reloadhttps://patch-diff.githubusercontent.com/rayworks/algorithms
Reloadhttps://patch-diff.githubusercontent.com/rayworks/algorithms
rayworks https://patch-diff.githubusercontent.com/rayworks
algorithmshttps://patch-diff.githubusercontent.com/rayworks/algorithms
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Frayworks%2Falgorithms
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Frayworks%2Falgorithms
Star 3 https://patch-diff.githubusercontent.com/login?return_to=%2Frayworks%2Falgorithms
t.me/+Qr0KEgWaFAIuhbfLhttps://t.me/+Qr0KEgWaFAIuhbfL
MIT license https://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/LICENSE
3 stars https://patch-diff.githubusercontent.com/rayworks/algorithms/stargazers
0 forks https://patch-diff.githubusercontent.com/rayworks/algorithms/forks
Branches https://patch-diff.githubusercontent.com/rayworks/algorithms/branches
Tags https://patch-diff.githubusercontent.com/rayworks/algorithms/tags
Activity https://patch-diff.githubusercontent.com/rayworks/algorithms/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Frayworks%2Falgorithms
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Frayworks%2Falgorithms
Code https://patch-diff.githubusercontent.com/rayworks/algorithms
Issues 0 https://patch-diff.githubusercontent.com/rayworks/algorithms/issues
Pull requests 0 https://patch-diff.githubusercontent.com/rayworks/algorithms/pulls
Actions https://patch-diff.githubusercontent.com/rayworks/algorithms/actions
Projects 0 https://patch-diff.githubusercontent.com/rayworks/algorithms/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/rayworks/algorithms/security
Please reload this pagehttps://patch-diff.githubusercontent.com/rayworks/algorithms
Insights https://patch-diff.githubusercontent.com/rayworks/algorithms/pulse
Code https://patch-diff.githubusercontent.com/rayworks/algorithms
Issues https://patch-diff.githubusercontent.com/rayworks/algorithms/issues
Pull requests https://patch-diff.githubusercontent.com/rayworks/algorithms/pulls
Actions https://patch-diff.githubusercontent.com/rayworks/algorithms/actions
Projects https://patch-diff.githubusercontent.com/rayworks/algorithms/projects
Security https://patch-diff.githubusercontent.com/rayworks/algorithms/security
Insights https://patch-diff.githubusercontent.com/rayworks/algorithms/pulse
Brancheshttps://patch-diff.githubusercontent.com/rayworks/algorithms/branches
Tagshttps://patch-diff.githubusercontent.com/rayworks/algorithms/tags
https://patch-diff.githubusercontent.com/rayworks/algorithms/branches
https://patch-diff.githubusercontent.com/rayworks/algorithms/tags
167 Commitshttps://patch-diff.githubusercontent.com/rayworks/algorithms/commits/master/
https://patch-diff.githubusercontent.com/rayworks/algorithms/commits/master/
.github/workflowshttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/.github/workflows
.github/workflowshttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/.github/workflows
gradle/wrapperhttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/gradle/wrapper
gradle/wrapperhttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/gradle/wrapper
imageshttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/images
imageshttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/images
srchttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/src
srchttps://patch-diff.githubusercontent.com/rayworks/algorithms/tree/master/src
.gitignorehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/.gitignore
LICENSEhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/README.md
build.gradlehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/build.gradle
build.gradlehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/build.gradle
gradlewhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/gradlew
gradlewhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/gradlew
gradlew.bathttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/gradlew.bat
gradlew.bathttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/gradlew.bat
index_script.shhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/index_script.sh
index_script.shhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/index_script.sh
readme_gen.pyhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/readme_gen.py
readme_gen.pyhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/readme_gen.py
settings.gradlehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/settings.gradle
settings.gradlehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/settings.gradle
READMEhttps://patch-diff.githubusercontent.com/rayworks/algorithms
MIT licensehttps://patch-diff.githubusercontent.com/rayworks/algorithms
https://patch-diff.githubusercontent.com/rayworks/algorithms#algorithms
https://patch-diff.githubusercontent.com/rayworks/algorithms#leetcode
53. Maximum Subarrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/algo/base/MaxSubSum.java
235. Lowest Common Ancestor of a Binary Search Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/Lca.java
199. Binary Tree Right Side Viewhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BinaryTreeRightSide.java
99. Recover Binary Search Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BSTRestorer.java
669. Trim a Binary Search Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BinarySearchTreeTrimmer.java
450. Delete Node in a BSThttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BinarySearchTreeTrimmer.java
687. Longest Univalue Pathhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/LongestUnivaluePath.java
103. Binary Tree Zigzag Level Order Traversalhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/ZigzagTraversal.java
110. Balanced Binary Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BalancedBinaryTree.java
1361. Validate Binary Tree Nodeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BinaryTreeValidator.java
127. Word Ladderhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/WordLadder.java
297. Serialize and Deserialize Binary Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/TreeSerializer.java
543. Diameter of Binary Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/Diameter.java
1609. Even Odd Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/EvenOddTree.java
662. Maximum Width of Binary Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/MaxWidthBinaryTree.java
814. Binary Tree Pruninghttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/BinaryTreePruner.java
1325. Delete Leaves With a Given Valuehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/NodeCleaner.java
637. Average of Levels in Binary Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/AvgLevelResolver.java
116. Populating Next Right Pointers in Each Nodehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/RightPointerBuilder.java
2477. Minimum Fuel Cost to Report to the Capitalhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/FuelCost.java
1376. Time Needed to Inform All Employeeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/InformTime.java
107. Binary Tree Level Order Traversal IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/LevelTraversalSolution.java
951 Flip Equivalent Binary Treeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/FlipEquivalentTree.java
617. Merge Two Binary Treeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/tree/TreeMerger.java
1146. Snapshot Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/design/SnapshotArray.java
1396. Design Underground Systemhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/design/UndergroundSystem.java
460. LFUhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/design/LFUCache.java
22. Generate Parentheseshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ParenthesesGenerator.java
703. Kth Largest Element in a Streamhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/KthStreamLargest.java
925. Long Pressed Namehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LongPressedName.java
1833. Maximum Ice Cream Barshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/IceCreamCounter.java
2653. Sliding Subarray Beautyhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/SlidingSubarrayBeauty.java
1079. Letter Tile Possibilitieshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LetterTile.java
31. Next Permutationhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/NextPermutation.java
283 Move Zeroeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ZeroesMover.java
540. Single Element in a Sorted Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/SingleElemFinder.java
33. Search in Rotated Sorted Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ArraySearch.java
819. Most Common Wordhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/CommonWordsCounter.java
565. Array Nestinghttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/NestingArray.java
3. Longest Substring Without Repeating Charactershttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LongestSubstrFinder.java
1743. Restore the Array From Adjacent Pairshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/AdjacentPairsToArray.java
120. Trianglehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/Triangle.java
981. Time Based Key-Value Storehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/TimeMap.java
118. Pascal's Trianglehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/PascalTriangle.java
56. Merge Intervalshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/IntervalMerger.java
881. Boats to Save Peoplehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/BoatCounter.java
239. Sliding Window Maximumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/SlidingWindowMax.java
304. Range Sum Query 2D - Immutablehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/NumMatrix.java
146. LRU Cachehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LRUCache.java
2007. Find Original Array From Doubled Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ArrayFinder.java
45. Jump Game IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/JumpGame2.java
128. Longest Consecutive Sequencehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ConsecutiveSequenceFinder.java
215. Kth Largest Element in an Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/KthLargestFinder.java
986. Interval List Intersectionshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ListIntersection.java
17. Letter Combinations of a Phone Numberhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LetterCombinationFinder.java
680. Valid Palindrome IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/PalindromeValidator.java
733. Flood Fillhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ImageFloodFill.java
49. Group Anagramshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/AnagramSorter.java
42. Trapping Rain Waterhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/WaterBar.java
200. Number of Islandshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/IslandCounter.java
1423. Maximum Points You Can Obtain from Cardshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/MaxCardPoints.java
973. K Closest Points to Originhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/KClosestPoints.java
1608. Special Array With X Elements Greater Than or Equal Xhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/NumInSpecialArray.java
724. Find Pivot Indexhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/PivotFinder.java
438. Find All Anagrams in a Stringhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/AnagramFinder.java
93. Restore IP Addresseshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/IpChecker.java
448. Find All Numbers Disappeared in an Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ElementFinder.java
1046. Last Stone Weighthttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/StoneWeightResolver.java
436. Find Right Intervalhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/RightIntervalFinder.java
442. Find All Duplicates in an Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/DuplicatesFinder.java
904 Fruit into basketshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/FruitCounter.java
347. Top K Frequent Elementshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/FrequentElemFinder.java
2070. Most Beautiful Item for Each Queryhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/MaxBeautyCounter.java
240. Search a 2D Matrix IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/MatrixSearcher2.java
524. Longest Word in Dictionary through Deletinghttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LongestWordFinder.java
130. Surrounded Regionshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/RegionDetector.java
27. Remove Elementhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ElementRemoval.java
84. Largest Rectangle in Histogramhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LargestRectangleFinder.java
678. Valid Parenthesis Stringhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/ParenthesisValidator.java
12. Integer to Romanhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/IntRomanConverter.java
289. Game of Lifehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/LifeGame.java
41. First Missing Positivehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/array/MissingPositiveFinder.java
2. Add Two Numbershttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/linkedlist/NumAdder.java
86. Partition Listhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/linkedlist/ListPartition.java
1019. Next Greater Node In Linked Listhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/linkedlist/NextGreaterNode.java
542. 01 Matrixhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/MatrixMinDistFinder.java
78. Subsetshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/Subsets.java
140. Word Break IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/WordBreakII.java
77. Combinationshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/Combinations.java
1631. Path With Minimum Efforthttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/MinEffortPathFinder.java
473. Matchsticks to Squarehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/StickSquare.kt
842. Split Array into Fibonacci Sequencehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/FibonacciArraySplitter.java
51. N-Queenshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/NQueens.java
980. Unique Paths IIIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/UniquePaths3.java
301. Remove Invalid Parentheseshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/ParenthesesEditor.java
494. Target Sumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/TargetSum.java
39. Combination Sumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/CombinationSum.java
79. Word Searchhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/WordSearcher.java
216. Combination Sum IIIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/CombinationSum3.java
332. Reconstruct Itineraryhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/ItineraryBuilder.java
40. Combination Sum IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/CombinationSum2.java
698. Partition to K Equal Sum Subsetshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/backtracking/SubsetPartition.java
1202. Smallest String With Swapshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/SmallStrWithSwaps.java
847. Shortest Path Visiting All Nodeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/ShortestPathFinder.java
417. Pacific Atlantic Water Flowhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/OceanWaterFlow.java
463. Island Perimeterhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/IslandPerimeterCalculator.java
743. Network Delay Timehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/NetworkDelayTime.java
827. Making A Large Islandhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/LargeIsland.java
2101. Detonate the Maximum Bombshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/MaxBombs.java
721. Accounts Mergehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/AccountMerger.java
785. Is Graph Bipartitehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/BipartiteChecker.java
1584. Min Cost to Connect All Pointshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/PointMinCost.java
787. Cheapest Flights Within K Stopshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/CheapestFlightsFinder.java
207. Course Schedulehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/CourseSchedule.java
329. Longest Increasing Path in a Matrixhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/graph/LongestIncPathFinder.java
62. Unique Pathshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/UniquePaths.java
695. Max Area of Islandhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/IslandMaxArea.java
1. Mark all the visited cellshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/IslandMaxArea.java
2. Traverse the cells with value 1 recursively, and calculatehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/IslandMaxArea.java
124. Binary Tree Maximum Path Sumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/MaxPathCalculator.java
1448. Count Good Nodes in Binary Treehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/GoodNodeCounter.java
437. Path Sum IIIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/PathSumCounter.java
341. Flatten Nested List Iteratorhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/NestedIterator.java
63. Unique Paths IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/UniquePaths2.java
64. Minimum Path Sumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/MinPathFinder.java
112. Path Sumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/RootLeafPathFinder.java
129. Sum Root to Leaf Numbershttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/RootLeafPathCalculator.java
113. Path Sum IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/recursive/RootLeafSumPathFinder.java
1011. Capacity To Ship Packages Within D Dayshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/search/PackageShip.java
1802. Maximum Value at a Given Index in a Bounded Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/search/BoundedArray.java
2812. Find the Safest Path in a Gridhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/search/SafestPathFinder.java
2616. Minimize the Maximum Difference of Pairshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/search/MinPairsDiff.java
1114. Print in Orderhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/concurrency/OrderPrinter.java
1115 Print FooBar Alternatelyhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/concurrency/FooBar.java
218. The Skyline Problemhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/divide_conquer/SkyLinePainter.java
211. Add and Search Word - Data structure designhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/trie/TrieEx.java
1268. Search Suggestions Systemhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/trie/SearchHelper.java
745. Prefix and Suffix Searchhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/trie/WordFilter.java
720. Longest Word in Dictionaryhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/trie/LongestWord.java
208. Implement Triehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/trie/Trie.java
1642. Furthest Building You Can Reachhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/greedy/BuildingClimber.java
68. Text Justificationhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/greedy/TextJustification.java
502. IPOhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/greedy/IPO.java
462. Minimum Moves to Equal Array Elements IIhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/sorting/MinMoveCalculator.java
451. Sort Characters By Frequencyhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/sorting/FrequencySort.java
791. Custom Sort Stringhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/sorting/CustomSort.java
622. Design Circular Queuehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/queue/MyCircularQueue.java
459. Repeated Substring Patternhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/string/RepeatedSubstrFinder.java
763. Partition Labelshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/string/LabelPartition.java
890. Find and Replace Patternhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/string/PatternFinder.java
279. Perfect Squareshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/PerfectSquares.java
1048. Longest String Chainhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/LongestStringChain.java
139. Word Breakhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/WordBreak.java
2707. Extra Characters in a Stringhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/CharExtractor.java
1416. Restore The Arrayhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/IntArray.java
823. Binary Trees With Factorshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/FactoredBinaryTree.java
392. Is Subsequencehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/SubsequenceChecker.java
85. Maximal Rectanglehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/MaxRectangle.java
1359. Count All Valid Pickup and Delivery Optionshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/OrderCounter.java
377. Combination Sum IVhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/CombinationSum4.java
300. Longest Increasing Subsequencehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/Lis.java
474. Ones and Zeroeshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/OnesAndZeroes.java
1043. Partition Array for Maximum Sumhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/PartitionArray.java
322. Coin Changehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/dynamicpro/CoinExchanger.java
224. Basic Calculatorhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/BasicCalculator.java
739. Daily Temperatureshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/DailyTemp.java
394. Decode Stringhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/StringDecoder.java
71. Simplify Pathhttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/PathHelper.java
844. Backspace String Comparehttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/BackspaceStr.java
20. Valid Parentheseshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/ParenthesesValidator.java
225. Implement Stack using Queueshttps://patch-diff.githubusercontent.com/rayworks/algorithms/blob/master/src/main/java/org/sean/stack/MyStack.java
t.me/+Qr0KEgWaFAIuhbfLhttps://t.me/+Qr0KEgWaFAIuhbfL
algorithms https://patch-diff.githubusercontent.com/topics/algorithms
leetcode-java https://patch-diff.githubusercontent.com/topics/leetcode-java
ctci-java https://patch-diff.githubusercontent.com/topics/ctci-java
Readme https://patch-diff.githubusercontent.com/rayworks/algorithms#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/rayworks/algorithms#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/rayworks/algorithms
Activityhttps://patch-diff.githubusercontent.com/rayworks/algorithms/activity
3 starshttps://patch-diff.githubusercontent.com/rayworks/algorithms/stargazers
2 watchinghttps://patch-diff.githubusercontent.com/rayworks/algorithms/watchers
0 forkshttps://patch-diff.githubusercontent.com/rayworks/algorithms/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Frayworks%2Falgorithms&report=rayworks+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/rayworks/algorithms/releases
Packages 0https://patch-diff.githubusercontent.com/users/rayworks/packages?repo_name=algorithms
Please reload this pagehttps://patch-diff.githubusercontent.com/rayworks/algorithms
Java 99.5% https://patch-diff.githubusercontent.com/rayworks/algorithms/search?l=java
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.