René's URL Explorer Experiment


Title: GitHub - wyd1987/leetcode: leetcode solution

Open Graph Title: GitHub - wyd1987/leetcode: leetcode solution

X Title: GitHub - wyd1987/leetcode: leetcode solution

Description: leetcode solution. Contribute to wyd1987/leetcode development by creating an account on GitHub.

Open Graph Description: leetcode solution. Contribute to wyd1987/leetcode development by creating an account on GitHub.

X Description: leetcode solution. Contribute to wyd1987/leetcode development by creating an account on GitHub.

Opengraph URL: https://github.com/wyd1987/leetcode

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:654e0c52-26c6-a9d2-c889-57c8d7a8e292
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idD946:286967:23DF58:315E61:69810B5C
html-safe-nonce20591b147b5f21477a4c6c587ce7c4a31b7a62caf510d8da087206ad680ed8da
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQ2OjI4Njk2NzoyM0RGNTg6MzE1RTYxOjY5ODEwQjVDIiwidmlzaXRvcl9pZCI6IjQyNTc5MDU3ODg3NDk2Nzk0NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbaa38266c8b71367f5eec58352e3b33b5053cc0cfe54a2056758b2e05464ad3b
hovercard-subject-tagrepository:38559955
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/wyd1987/leetcode
twitter:imagehttps://opengraph.githubassets.com/244d22270f8bafb4545ff0971682468c1a6e5b3678be6b100432e798d764c758/wyd1987/leetcode
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/244d22270f8bafb4545ff0971682468c1a6e5b3678be6b100432e798d764c758/wyd1987/leetcode
og:image:altleetcode solution. Contribute to wyd1987/leetcode development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1
turbo-cache-controlno-preview
go-importgithub.com/wyd1987/leetcode git https://github.com/wyd1987/leetcode.git
octolytics-dimension-user_id7463494
octolytics-dimension-user_loginwyd1987
octolytics-dimension-repository_id38559955
octolytics-dimension-repository_nwowyd1987/leetcode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id35395307
octolytics-dimension-repository_parent_nwoliyuan989/leetcode
octolytics-dimension-repository_network_root_id35395307
octolytics-dimension-repository_network_root_nwoliyuan989/leetcode
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
released5b34a4e4898b066c629879feb4b184bc471d6a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/wyd1987/leetcode#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwyd1987%2Fleetcode
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%2Fwyd1987%2Fleetcode
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=wyd1987%2Fleetcode
Reloadhttps://patch-diff.githubusercontent.com/wyd1987/leetcode
Reloadhttps://patch-diff.githubusercontent.com/wyd1987/leetcode
Reloadhttps://patch-diff.githubusercontent.com/wyd1987/leetcode
wyd1987 https://patch-diff.githubusercontent.com/wyd1987
leetcodehttps://patch-diff.githubusercontent.com/wyd1987/leetcode
liyuan989/leetcodehttps://patch-diff.githubusercontent.com/liyuan989/leetcode
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fwyd1987%2Fleetcode
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fwyd1987%2Fleetcode
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fwyd1987%2Fleetcode
View license https://patch-diff.githubusercontent.com/wyd1987/leetcode/blob/master/LICENSE
0 stars https://patch-diff.githubusercontent.com/wyd1987/leetcode/stargazers
28 forks https://patch-diff.githubusercontent.com/wyd1987/leetcode/forks
Branches https://patch-diff.githubusercontent.com/wyd1987/leetcode/branches
Tags https://patch-diff.githubusercontent.com/wyd1987/leetcode/tags
Activity https://patch-diff.githubusercontent.com/wyd1987/leetcode/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fwyd1987%2Fleetcode
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fwyd1987%2Fleetcode
Code https://patch-diff.githubusercontent.com/wyd1987/leetcode
Pull requests 0 https://patch-diff.githubusercontent.com/wyd1987/leetcode/pulls
Actions https://patch-diff.githubusercontent.com/wyd1987/leetcode/actions
Projects 0 https://patch-diff.githubusercontent.com/wyd1987/leetcode/projects
Wiki https://patch-diff.githubusercontent.com/wyd1987/leetcode/wiki
Security 0 https://patch-diff.githubusercontent.com/wyd1987/leetcode/security
Insights https://patch-diff.githubusercontent.com/wyd1987/leetcode/pulse
Code https://patch-diff.githubusercontent.com/wyd1987/leetcode
Pull requests https://patch-diff.githubusercontent.com/wyd1987/leetcode/pulls
Actions https://patch-diff.githubusercontent.com/wyd1987/leetcode/actions
Projects https://patch-diff.githubusercontent.com/wyd1987/leetcode/projects
Wiki https://patch-diff.githubusercontent.com/wyd1987/leetcode/wiki
Security https://patch-diff.githubusercontent.com/wyd1987/leetcode/security
Insights https://patch-diff.githubusercontent.com/wyd1987/leetcode/pulse
Brancheshttps://patch-diff.githubusercontent.com/wyd1987/leetcode/branches
Tagshttps://patch-diff.githubusercontent.com/wyd1987/leetcode/tags
https://patch-diff.githubusercontent.com/wyd1987/leetcode/branches
https://patch-diff.githubusercontent.com/wyd1987/leetcode/tags
43 Commitshttps://patch-diff.githubusercontent.com/wyd1987/leetcode/commits/master/
https://patch-diff.githubusercontent.com/wyd1987/leetcode/commits/master/
Algorithmhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/tree/master/Algorithm
Algorithmhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/tree/master/Algorithm
LICENSEhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/wyd1987/leetcode
Licensehttps://patch-diff.githubusercontent.com/wyd1987/leetcode
https://patch-diff.githubusercontent.com/wyd1987/leetcode#leetcode
https://patch-diff.githubusercontent.com/wyd1987/leetcode#algorithm
Two Sumhttps://leetcode.com/problems/two-sum/
Add Two Numbershttps://leetcode.com/problems/add-two-numbers/
Longest Substring Without Repeating Charactershttps://leetcode.com/problems/longest-substring-without-repeating-characters/
Median of Two Sorted Arrayshttps://leetcode.com/problems/median-of-two-sorted-arrays/
Longest Palindromic Substringhttps://leetcode.com/problems/longest-palindromic-substring/
ZigZag Conversionhttps://leetcode.com/problems/zigzag-conversion/
Reverse Integerhttps://leetcode.com/problems/reverse-integer/
String to Integer (atoi)https://leetcode.com/problems/string-to-integer-atoi/
Palindrome Numberhttps://leetcode.com/problems/palindrome-number/
Regular Expression Matchinghttps://leetcode.com/problems/regular-expression-matching/
Container With Most Waterhttps://leetcode.com/problems/container-with-most-water/
Integer to Romanhttps://leetcode.com/problems/integer-to-roman/
Roman to Integerhttps://leetcode.com/problems/roman-to-integer/
Longest Common Prefixhttps://leetcode.com/problems/longest-common-prefix/
3Sumhttps://leetcode.com/problems/3sum/
3Sum Closesthttps://leetcode.com/problems/3sum-closest/
Letter Combinations of a Phone Numberhttps://leetcode.com/problems/letter-combinations-of-a-phone-number/
4Sumhttps://leetcode.com/problems/4sum/
Remove Nth Node From End of Listhttps://leetcode.com/problems/remove-nth-node-from-end-of-list/
Valid Parentheseshttps://leetcode.com/problems/valid-parentheses/
Merge Two Sorted Listshttps://leetcode.com/problems/merge-two-sorted-lists/
Generate Parentheseshttps://leetcode.com/problems/generate-parentheses/
Merge k Sorted Listshttps://leetcode.com/problems/merge-k-sorted-lists/
Swap Nodes in Pairs https://leetcode.com/problems/swap-nodes-in-pairs/
Reverse Nodes in k-Group https://leetcode.com/problems/reverse-nodes-in-k-group/
Remove Duplicates from Sorted Arrayhttps://leetcode.com/problems/remove-duplicates-from-sorted-array/
Remove Elementhttps://leetcode.com/problems/remove-element/
Implement strStr()https://leetcode.com/problems/implement-strstr/
Divide Two Integershttps://leetcode.com/problems/divide-two-integers/
Substring with Concatenation of All Wordshttps://leetcode.com/problems/substring-with-concatenation-of-all-words/
Next Permutationhttps://leetcode.com/problems/next-permutation/
Longest Valid Parentheseshttps://leetcode.com/problems/longest-valid-parentheses/
Search in Rotated Sorted Array https://leetcode.com/problems/search-in-rotated-sorted-array/
Search for a Rangehttps://leetcode.com/problems/search-for-a-range/
Search Insert Positionhttps://leetcode.com/problems/search-insert-position/
Valid Sudokuhttps://leetcode.com/problems/valid-sudoku/
Sudoku Solverhttps://leetcode.com/problems/sudoku-solver/
Count and Sayhttps://leetcode.com/problems/count-and-say/
Combination Sumhttps://leetcode.com/problems/combination-sum/
Combination Sum IIhttps://leetcode.com/problems/combination-sum-ii/
First Missing Positivehttps://leetcode.com/problems/first-missing-positive/
Trapping Rain Waterhttps://leetcode.com/problems/trapping-rain-water/
Multiply Stringshttps://leetcode.com/problems/multiply-strings/
Wildcard Matchinghttps://leetcode.com/problemset/algorithms/
Jump Game IIhttps://leetcode.com/problems/jump-game-ii/
Permutationshttps://leetcode.com/problems/permutations/
Permutations IIhttps://leetcode.com/problems/permutations-ii/
Rotate Imagehttps://leetcode.com/problems/rotate-image/
Anagramshttps://leetcode.com/problems/anagrams/
Pow(x, n)https://leetcode.com/problems/powx-n/
N-Queenshttps://leetcode.com/problems/n-queens/
N-Queens II https://leetcode.com/problems/n-queens-ii/
Maximum Subarrayhttps://leetcode.com/problems/maximum-subarray/
Spiral Matrixhttps://leetcode.com/problems/spiral-matrix/
Jump Gamehttps://leetcode.com/problems/jump-game/
Merge Intervalshttps://leetcode.com/problems/merge-intervals/
Insert Intervalhttps://leetcode.com/problemset/algorithms/
Length of Last Wordhttps://leetcode.com/problems/length-of-last-word/
Spiral Matrix IIhttps://leetcode.com/problems/spiral-matrix-ii/
Permutation Sequencehttps://leetcode.com/problems/permutation-sequence/
Rotate Listhttps://leetcode.com/problems/rotate-list/
Unique Pathshttps://leetcode.com/problems/unique-paths/
Unique Paths IIhttps://leetcode.com/problems/unique-paths-ii/
Minimum Path Sumhttps://leetcode.com/problems/minimum-path-sum/
Valid Numberhttps://leetcode.com/problems/valid-number/
Plus Onehttps://leetcode.com/problems/plus-one/
Add Binaryhttps://leetcode.com/problems/add-binary/
Text Justificationhttps://leetcode.com/problems/text-justification/
Sqrt(x)https://leetcode.com/problems/sqrtx/
Climbing Stairshttps://leetcode.com/problems/climbing-stairs/
Simplify Pathhttps://leetcode.com/problems/simplify-path/
Edit Distancehttps://leetcode.com/problems/edit-distance/
Set Matrix Zeroeshttps://leetcode.com/problems/set-matrix-zeroes/
Search a 2D Matrixhttps://leetcode.com/problems/search-a-2d-matrix/
Sort Colorshttps://leetcode.com/problems/sort-colors/
Minimum Window Substringhttps://leetcode.com/problems/minimum-window-substring/
Combinationshttps://leetcode.com/problems/combinations/
Subsetshttps://leetcode.com/problems/subsets/
Word Searchhttps://leetcode.com/problems/word-search/
Remove Duplicates from Sorted Array IIhttps://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/
Search in Rotated Sorted Array IIhttps://leetcode.com/problems/search-in-rotated-sorted-array-ii/
Remove Duplicates from Sorted List IIhttps://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/
Remove Duplicates from Sorted Listhttps://leetcode.com/problems/remove-duplicates-from-sorted-list/
Largest Rectangle in Histogramhttps://leetcode.com/problems/largest-rectangle-in-histogram/
Maximal Rectanglehttps://leetcode.com/problems/maximal-rectangle/
Partition Listhttps://leetcode.com/problems/partition-list/
Scramble Stringhttps://leetcode.com/problems/scramble-string/
Merge Sorted Arrayhttps://leetcode.com/problems/merge-sorted-array/
Gray Codehttps://leetcode.com/problems/gray-code/
Subsets IIhttps://leetcode.com/problems/subsets-ii/
Decode Wayshttps://leetcode.com/problems/decode-ways/
Reverse Linked List IIhttps://leetcode.com/problems/reverse-linked-list-ii/
Restore IP Addresseshttps://leetcode.com/problems/restore-ip-addresses/
Binary Tree Inorder Traversalhttps://leetcode.com/problems/binary-tree-inorder-traversal/
Unique Binary Search Trees IIhttps://leetcode.com/problems/unique-binary-search-trees-ii/
Unique Binary Search Treeshttps://leetcode.com/problems/unique-binary-search-trees/
Interleaving Stringhttps://leetcode.com/problems/interleaving-string/
Validate Binary Search Treehttps://leetcode.com/problems/validate-binary-search-tree/
Recover Binary Search Treehttps://leetcode.com/problems/recover-binary-search-tree/
Same Treehttps://leetcode.com/problems/same-tree/
Symmetric Treehttps://leetcode.com/problems/symmetric-tree/
Binary Tree Level Order Traversalhttps://leetcode.com/problems/binary-tree-level-order-traversal/
Binary Tree Zigzag Level Order Traversalhttps://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/
Maximum Depth of Binary Treehttps://leetcode.com/problems/maximum-depth-of-binary-tree/
Construct Binary Tree from Preorder and Inorder Traversalhttps://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
Construct Binary Tree from Inorder and Postorder Traversalhttps://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/
Binary Tree Level Order Traversal IIhttps://leetcode.com/problems/binary-tree-level-order-traversal-ii/
Convert Sorted Array to Binary Search Treehttps://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/
Convert Sorted List to Binary Search Treehttps://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/
Balanced Binary Treehttps://leetcode.com/problems/balanced-binary-tree/
Minimum Depth of Binary Treehttps://leetcode.com/problems/minimum-depth-of-binary-tree/
Path Sumhttps://leetcode.com/problems/path-sum/
Path Sum IIhttps://leetcode.com/problems/path-sum-ii/
Flatten Binary Tree to Linked Listhttps://leetcode.com/problems/flatten-binary-tree-to-linked-list/
Distinct Subsequenceshttps://leetcode.com/problems/distinct-subsequences/
Populating Next Right Pointers in Each Nodehttps://leetcode.com/problems/populating-next-right-pointers-in-each-node/
Populating Next Right Pointers in Each Node IIhttps://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/
Pascal's Trianglehttps://leetcode.com/problems/pascals-triangle/
Pascal's Triangle IIhttps://leetcode.com/problems/pascals-triangle-ii/
Trianglehttps://leetcode.com/problems/triangle/
Best Time to Buy and Sell Stockhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock/
Best Time to Buy and Sell Stock IIhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
Best Time to Buy and Sell Stock IIIhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/
Binary Tree Maximum Path Sumhttps://leetcode.com/problems/binary-tree-maximum-path-sum/
Valid Palindromehttps://leetcode.com/problems/valid-palindrome/
Word Breakhttps://leetcode.com/problems/word-break/
Binary Tree Preorder Traversalhttps://leetcode.com/problems/binary-tree-preorder-traversal/
Binary Tree Postorder Traversalhttps://leetcode.com/problems/binary-tree-postorder-traversal/
Excel Sheet Column Numberhttps://leetcode.com/problems/excel-sheet-column-number/
Number of 1 Bitshttps://leetcode.com/problems/number-of-1-bits/
Invert Binary Treehttps://leetcode.com/problems/invert-binary-tree/
Readme https://patch-diff.githubusercontent.com/wyd1987/leetcode#readme-ov-file
View license https://patch-diff.githubusercontent.com/wyd1987/leetcode#License-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/wyd1987/leetcode
Activityhttps://patch-diff.githubusercontent.com/wyd1987/leetcode/activity
0 starshttps://patch-diff.githubusercontent.com/wyd1987/leetcode/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/wyd1987/leetcode/watchers
0 forkshttps://patch-diff.githubusercontent.com/wyd1987/leetcode/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fwyd1987%2Fleetcode&report=wyd1987+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/wyd1987/leetcode/releases
Packages 0https://patch-diff.githubusercontent.com/users/wyd1987/packages?repo_name=leetcode
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.