René's URL Explorer Experiment


Title: GitHub - fei023/LeetCode-Solutions: 🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update)

Open Graph Title: GitHub - fei023/LeetCode-Solutions: 🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update)

X Title: GitHub - fei023/LeetCode-Solutions: 🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update)

Description: 🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update) - fei023/LeetCode-Solutions

Open Graph Description: 🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update) - fei023/LeetCode-Solutions

X Description: 🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update) - fei023/LeetCode-Solutions

Opengraph URL: https://github.com/fei023/LeetCode-Solutions

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:a8c32f47-b162-88f9-83e4-b308555b4093
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id818E:23EE3C:5DAF29:83293F:69724A78
html-safe-nonced46b64a1147e7894a479c623cfcb6fc909058b118740cbcd462615e00cd56edd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MThFOjIzRUUzQzo1REFGMjk6ODMyOTNGOjY5NzI0QTc4IiwidmlzaXRvcl9pZCI6IjY3Nzg3OTk1NTg1MjQ4MTU5OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace530669ccca637f881e11203d451f292bc6bccef9b49606993376fe274253904
hovercard-subject-tagrepository:643399392
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/fei023/LeetCode-Solutions
twitter:imagehttps://opengraph.githubassets.com/938331c9d28bd20be017d8183854b6d9890dda68f75f268043899f4ff215365d/fei023/LeetCode-Solutions
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/938331c9d28bd20be017d8183854b6d9890dda68f75f268043899f4ff215365d/fei023/LeetCode-Solutions
og:image:alt🏋️ Python / Modern C++ Solutions of All 2688 LeetCode Problems (Weekly Update) - fei023/LeetCode-Solutions
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0bf8f9c572ee803398ae08d37b5c4215b9e90e3afebbe4c722ebdecb8f680830
turbo-cache-controlno-preview
go-importgithub.com/fei023/LeetCode-Solutions git https://github.com/fei023/LeetCode-Solutions.git
octolytics-dimension-user_id82853170
octolytics-dimension-user_loginfei023
octolytics-dimension-repository_id643399392
octolytics-dimension-repository_nwofei023/LeetCode-Solutions
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id152631182
octolytics-dimension-repository_parent_nwokamyu104/LeetCode-Solutions
octolytics-dimension-repository_network_root_id152631182
octolytics-dimension-repository_network_root_nwokamyu104/LeetCode-Solutions
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
releasef1a765aea9b6f5dcd4bf980043cb1434723fac64
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffei023%2FLeetCode-Solutions
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%2Ffei023%2FLeetCode-Solutions
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=fei023%2FLeetCode-Solutions
Reloadhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Reloadhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Reloadhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
fei023 https://patch-diff.githubusercontent.com/fei023
LeetCode-Solutionshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
kamyu104/LeetCode-Solutionshttps://patch-diff.githubusercontent.com/kamyu104/LeetCode-Solutions
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffei023%2FLeetCode-Solutions
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Ffei023%2FLeetCode-Solutions
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Ffei023%2FLeetCode-Solutions
MIT license https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/LICENSE.md
0 stars https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/stargazers
1.7k forks https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/forks
Branches https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/branches
Tags https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tags
Activity https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Ffei023%2FLeetCode-Solutions
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffei023%2FLeetCode-Solutions
Code https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Pull requests 0 https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/pulls
Actions https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/actions
Projects 0 https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/security
Please reload this pagehttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Insights https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/pulse
Code https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Pull requests https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/pulls
Actions https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/actions
Projects https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/projects
Security https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/security
Insights https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/pulse
Brancheshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/branches
Tagshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tags
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/branches
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tags
15,047 Commitshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/commits/master/
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/commits/master/
C#https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/C%23
C#https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/C%23
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/C%2B%2B
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/C%2B%2B
Golanghttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Golang
Golanghttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Golang
Javahttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Java
Javahttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Java
Kotlinhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Kotlin
Kotlinhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Kotlin
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/MySQL
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/MySQL
PHPhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/PHP
PHPhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/PHP
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Python
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Python
Rubyhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Ruby
Rubyhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Ruby
Rusthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Rust
Rusthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Rust
Shellhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Shell
Shellhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Shell
Swifthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Swift
Swifthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/Swift
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/TypeScript
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/tree/master/TypeScript
.travis.ymlhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/.travis.yml
.travis.ymlhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/.travis.yml
0001-1000.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/0001-1000.md
0001-1000.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/0001-1000.md
1001-2000.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/1001-2000.md
1001-2000.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/1001-2000.md
LICENSE.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/LICENSE.md
LICENSE.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/LICENSE.md
README.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/README.md
REFERENCE.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/REFERENCE.md
REFERENCE.mdhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/REFERENCE.md
READMEhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Licensehttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
LeetCodehttps://leetcode.com/problemset/all/
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#leetcode
https://camo.githubusercontent.com/2a6a6c3671361989d916416ae8b5a060c6e1f1018dfca133d60044e4f76b336e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d507974686f6e2532302532462532304d6f6465726e253230432b2b2d6f72616e67652e737667
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/LICENSE.md
https://camo.githubusercontent.com/e35b7d44ad2a822b4391d5c4b1b51a1432d3c142005f4a64c0e81563b4c07ad8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7570646174652d7765656b6c792d677265656e2e737667
https://camo.githubusercontent.com/b9698cdbfea9faad483a6afb52ab333f6cebbcf6c775a329070a7ab9e802742d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d32363838253230253246253230323638382d6666363962342e737667
https://saythanks.io/to/kamyu104
https://camo.githubusercontent.com/1e35a7250fc157a39f6dbaf5a1f8402b8addfd89db3cfffb9d083955000a7c92/68747470733a2f2f76697369746f722d62616467652e6c616f62692e6963752f62616467653f706167655f69643d6b616d79753130342e6c656574636f64652e736f6c7574696f6e73
LintCodehttps://github.com/kamyu104/LintCode
GoogleKickStarthttps://github.com/kamyu104/GoogleKickStart-2022
GoogleCodeJamIOhttps://github.com/kamyu104/GoogleCodeJamIO-2022
GoogleCodeJamhttps://github.com/kamyu104/GoogleCodeJam-Farewell-Rounds
MetaHackerCuphttps://github.com/kamyu104/MetaHackerCup-2022
LeetCode premium membershiphttps://leetcode.com/subscribe/
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#solutions
0001 - 1000https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/0001-1000.md
1001 - 2000https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/1001-2000.md
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
Bit Manipulationhttps://github.com/kamyu104/LeetCode-Solutions#bit-manipulation
Arrayhttps://github.com/kamyu104/LeetCode-Solutions#array
Stringhttps://github.com/kamyu104/LeetCode-Solutions#string
Linked Listhttps://github.com/kamyu104/LeetCode-Solutions#linked-list
Stackhttps://github.com/kamyu104/LeetCode-Solutions#stack
Queuehttps://github.com/kamyu104/LeetCode-Solutions#queue
Binary Heaphttps://github.com/kamyu104/LeetCode-Solutions#binary-heap
Treehttps://github.com/kamyu104/LeetCode-Solutions#tree
Hash Tablehttps://github.com/kamyu104/LeetCode-Solutions#hash-table
Mathhttps://github.com/kamyu104/LeetCode-Solutions#math
Sorthttps://github.com/kamyu104/LeetCode-Solutions#sort
Two Pointershttps://github.com/kamyu104/LeetCode-Solutions#two-pointers
Recursionhttps://github.com/kamyu104/LeetCode-Solutions#recursion
Binary Searchhttps://github.com/kamyu104/LeetCode-Solutions#binary-search
Binary Search Treehttps://github.com/kamyu104/LeetCode-Solutions#binary-search-tree
Breadth-First Searchhttps://github.com/kamyu104/LeetCode-Solutions#breadth-first-search
Depth-First Searchhttps://github.com/kamyu104/LeetCode-Solutions#depth-first-search
Backtrackinghttps://github.com/kamyu104/LeetCode-Solutions#backtracking
Dynamic Programminghttps://github.com/kamyu104/LeetCode-Solutions#dynamic-programming
Greedyhttps://github.com/kamyu104/LeetCode-Solutions#greedy
Graphhttps://github.com/kamyu104/LeetCode-Solutions#graph
Geometryhttps://github.com/kamyu104/LeetCode-Solutions#geometry
Simulationhttps://github.com/kamyu104/LeetCode-Solutions#simulation
Constructive Algorithmshttps://github.com/kamyu104/LeetCode-Solutions#constructive-algorithms
Designhttps://github.com/kamyu104/LeetCode-Solutions#design
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#javascript
JShttps://github.com/kamyu104/LeetCode-Solutions#js
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#database
SQLhttps://github.com/kamyu104/LeetCode-Solutions#sql
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#reference
Linkshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/REFERENCE.md
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#bit-manipulation
Maximum Good People Based on Statementshttps://leetcode.com/problems/maximum-good-people-based-on-statements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-good-people-based-on-statements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-good-people-based-on-statements.py
Maximum Points in an Archery Competitionhttps://leetcode.com/problems/maximum-points-in-an-archery-competition/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-points-in-an-archery-competition.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-points-in-an-archery-competition.py
Minimum Bit Flips to Convert Numberhttps://leetcode.com/problems/minimum-bit-flips-to-convert-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-bit-flips-to-convert-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-bit-flips-to-convert-number.py
Largest Combination With Bitwise AND Greater Than Zerohttps://leetcode.com/problems/largest-combination-with-bitwise-and-greater-than-zero/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/largest-combination-with-bitwise-and-greater-than-zero.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/largest-combination-with-bitwise-and-greater-than-zero.py
Maximum XOR After Operationshttps://leetcode.com/problems/maximum-xor-after-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-xor-after-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-xor-after-operations.py
Maximum Rows Covered by Columnshttps://leetcode.com/problems/maximum-rows-covered-by-columns/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-rows-covered-by-columns.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-rows-covered-by-columns.py
Smallest Subarrays With Maximum Bitwise ORhttps://leetcode.com/problems/smallest-subarrays-with-maximum-bitwise-or/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-subarrays-with-maximum-bitwise-or.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-subarrays-with-maximum-bitwise-or.py
Longest Subarray With Maximum Bitwise ANDhttps://leetcode.com/problems/longest-subarray-with-maximum-bitwise-and/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-subarray-with-maximum-bitwise-and.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-subarray-with-maximum-bitwise-and.py
Bitwise XOR of All Pairingshttps://leetcode.com/problems/bitwise-xor-of-all-pairings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/bitwise-xor-of-all-pairings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/bitwise-xor-of-all-pairings.py
Minimize XORhttps://leetcode.com/problems/minimize-xor/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-xor.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-xor.py
Bitwise OR of All Subsequence Sumshttps://leetcode.com/problems/bitwise-or-of-all-subsequence-sums/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/bitwise-or-of-all-subsequence-sums.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/bitwise-or-of-all-subsequence-sums.py
Find Xor-Beauty of Arrayhttps://leetcode.com/problems/find-xor-beauty-of-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-xor-beauty-of-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-xor-beauty-of-array.py
Number of Even and Odd Bitshttps://leetcode.com/problems/number-of-even-and-odd-bits/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-even-and-odd-bits.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-even-and-odd-bits.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#array
Find Original Array From Doubled Arrayhttps://leetcode.com/problems/find-original-array-from-doubled-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-original-array-from-doubled-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-original-array-from-doubled-array.py
Array of Doubled Pairshttps://leetcode.com/problems/array-of-doubled-pairs/
Final Value of Variable After Performing Operationshttps://leetcode.com/problems/final-value-of-variable-after-performing-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/final-value-of-variable-after-performing-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/final-value-of-variable-after-performing-operations.py
Sum of Beauty in the Arrayhttps://leetcode.com/problems/sum-of-beauty-in-the-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-beauty-in-the-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-beauty-in-the-array.py
Maximum Difference Between Increasing Elementshttps://leetcode.com/problems/maximum-difference-between-increasing-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-difference-between-increasing-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-difference-between-increasing-elements.py
Best Time to Buy and Sell Stockhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock/
Grid Gamehttps://leetcode.com/problems/grid-game/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/grid-game.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/grid-game.py
Check if Word Can Be Placed In Crosswordhttps://leetcode.com/problems/check-if-word-can-be-placed-in-crossword/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-word-can-be-placed-in-crossword.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-word-can-be-placed-in-crossword.py
Convert 1D Array Into 2D Arrayhttps://leetcode.com/problems/convert-1d-array-into-2d-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/convert-1d-array-into-2d-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/convert-1d-array-into-2d-array.py
Minimum Operations to Make a Uni-Value Gridhttps://leetcode.com/problems/minimum-operations-to-make-a-uni-value-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-make-a-uni-value-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-make-a-uni-value-grid.py
Minimum Moves to Equal Array Elements IIhttps://leetcode.com/problems/minimum-moves-to-equal-array-elements-ii/
Partition Array Into Two Arrays to Minimize Sum Differencehttps://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-sum-difference/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/partition-array-into-two-arrays-to-minimize-sum-difference.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/partition-array-into-two-arrays-to-minimize-sum-difference.py
Remove Colored Pieces if Both Neighbors are the Same Colorhttps://leetcode.com/problems/remove-colored-pieces-if-both-neighbors-are-the-same-color/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/remove-colored-pieces-if-both-neighbors-are-the-same-color.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/remove-colored-pieces-if-both-neighbors-are-the-same-color.py
Plates Between Candleshttps://leetcode.com/problems/plates-between-candles/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/plates-between-candles.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/plates-between-candles.py
Smallest Index With Equal Valuehttps://leetcode.com/problems/smallest-index-with-equal-value/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-index-with-equal-value.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-index-with-equal-value.py
Decode the Slanted Ciphertexthttps://leetcode.com/problems/decode-the-slanted-ciphertext/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/decode-the-slanted-ciphertext.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/decode-the-slanted-ciphertext.py
Two Furthest Houses With Different Colorshttps://leetcode.com/problems/two-furthest-houses-with-different-colors/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/two-furthest-houses-with-different-colors.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/two-furthest-houses-with-different-colors.py
Watering Plantshttps://leetcode.com/problems/watering-plants/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/watering-plants.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/watering-plants.py
Subsequence of Size K With the Largest Even Sumhttps://leetcode.com/problems/subsequence-of-size-k-with-the-largest-even-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/subsequence-of-size-k-with-the-largest-even-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/subsequence-of-size-k-with-the-largest-even-sum.py
Find Subsequence of Length K With the Largest Sumhttps://leetcode.com/problems/find-subsequence-of-length-k-with-the-largest-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-subsequence-of-length-k-with-the-largest-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-subsequence-of-length-k-with-the-largest-sum.py
Find Good Days to Rob the Bankhttps://leetcode.com/problems/find-good-days-to-rob-the-bank/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-good-days-to-rob-the-bank.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-good-days-to-rob-the-bank.py
Maximum Fruits Harvested After at Most K Stepshttps://leetcode.com/problems/maximum-fruits-harvested-after-at-most-k-steps/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-fruits-harvested-after-at-most-k-steps.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-fruits-harvested-after-at-most-k-steps.py
Elements in Array After Removing and Replacing Elementshttps://leetcode.com/problems/elements-in-array-after-removing-and-replacing-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/elements-in-array-after-removing-and-replacing-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/elements-in-array-after-removing-and-replacing-elements.py
Intervals Between Identical Elementshttps://leetcode.com/problems/intervals-between-identical-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/intervals-between-identical-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/intervals-between-identical-elements.py
Recover the Original Arrayhttps://leetcode.com/problems/recover-the-original-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/recover-the-original-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/recover-the-original-array.py
Remove All Ones With Row and Column Flipshttps://leetcode.com/problems/remove-all-ones-with-row-and-column-flips/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/remove-all-ones-with-row-and-column-flips.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/remove-all-ones-with-row-and-column-flips.py
Stamping the Gridhttps://leetcode.com/problems/stamping-the-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/stamping-the-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/stamping-the-grid.py
All Divisions With the Highest Score of a Binary Arrayhttps://leetcode.com/problems/all-divisions-with-the-highest-score-of-a-binary-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/all-divisions-with-the-highest-score-of-a-binary-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/all-divisions-with-the-highest-score-of-a-binary-array.py
Cells in a Range on an Excel Sheethttps://leetcode.com/problems/cells-in-a-range-on-an-excel-sheet/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/cells-in-a-range-on-an-excel-sheet.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/cells-in-a-range-on-an-excel-sheet.py
Count Hills and Valleys in an Arrayhttps://leetcode.com/problems/count-hills-and-valleys-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-hills-and-valleys-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-hills-and-valleys-in-an-array.py
Maximum Sum Score of Arrayhttps://leetcode.com/problems/maximum-sum-score-of-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-sum-score-of-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-sum-score-of-array.py
Count Positions on Street With Required Brightnesshttps://leetcode.com/problems/count-positions-on-street-with-required-brightness/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-positions-on-street-with-required-brightness.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-positions-on-street-with-required-brightness.py
Find Closest Number to Zerohttps://leetcode.com/problems/find-closest-number-to-zero/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-closest-number-to-zero.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-closest-number-to-zero.py
Maximum Trailing Zeros in a Cornered Pathhttps://leetcode.com/problems/maximum-trailing-zeros-in-a-cornered-path/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-trailing-zeros-in-a-cornered-path.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-trailing-zeros-in-a-cornered-path.py
Minimum Average Differencehttps://leetcode.com/problems/minimum-average-difference/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-average-difference.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-average-difference.py
Number of Ways to Split Arrayhttps://leetcode.com/problems/number-of-ways-to-split-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-split-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-split-array.py
Maximum White Tiles Covered by a Carpethttps://leetcode.com/problems/maximum-white-tiles-covered-by-a-carpet/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-white-tiles-covered-by-a-carpet.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-white-tiles-covered-by-a-carpet.py
Maximum Consecutive Floors Without Special Floorshttps://leetcode.com/problems/maximum-consecutive-floors-without-special-floors/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-consecutive-floors-without-special-floors.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-consecutive-floors-without-special-floors.py
Min Max Gamehttps://leetcode.com/problems/min-max-game/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/min-max-game.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/min-max-game.py
Check if Matrix Is X-Matrixhttps://leetcode.com/problems/check-if-matrix-is-x-matrix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-matrix-is-x-matrix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-matrix-is-x-matrix.py
Spiral Matrix IVhttps://leetcode.com/problems/spiral-matrix-iv/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/spiral-matrix-iv.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/spiral-matrix-iv.py
Largest Local Values in a Matrixhttps://leetcode.com/problems/largest-local-values-in-a-matrix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/largest-local-values-in-a-matrix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/largest-local-values-in-a-matrix.py
Maximum Segment Sum After Removalshttps://leetcode.com/problems/maximum-segment-sum-after-removals/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-segment-sum-after-removals.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-segment-sum-after-removals.py
Minimum Amount of Time to Collect Garbagehttps://leetcode.com/problems/minimum-amount-of-time-to-collect-garbage/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-amount-of-time-to-collect-garbage.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-amount-of-time-to-collect-garbage.py
Divide Intervals Into Minimum Number of Groupshttps://leetcode.com/problems/divide-intervals-into-minimum-number-of-groups/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/divide-intervals-into-minimum-number-of-groups.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/divide-intervals-into-minimum-number-of-groups.py
Longest Increasing Subsequence IIhttps://leetcode.com/problems/longest-increasing-subsequence-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-increasing-subsequence-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-increasing-subsequence-ii.py
Longest Increasing Subsequencehttps://leetcode.com/problems/longest-increasing-subsequence/
Maximum Sum of an Hourglasshttps://leetcode.com/problems/maximum-sum-of-an-hourglass/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-sum-of-an-hourglass.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-sum-of-an-hourglass.py
The Employee That Worked on the Longest Taskhttps://leetcode.com/problems/the-employee-that-worked-on-the-longest-task/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/the-employee-that-worked-on-the-longest-task.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/the-employee-that-worked-on-the-longest-task.py
Find The Original Array of Prefix Xorhttps://leetcode.com/problems/find-the-original-array-of-prefix-xor/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-original-array-of-prefix-xor.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-original-array-of-prefix-xor.py
Range Product Queries of Powershttps://leetcode.com/problems/range-product-queries-of-powers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/range-product-queries-of-powers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/range-product-queries-of-powers.py
Determine if Two Events Have Conflicthttps://leetcode.com/problems/determine-if-two-events-have-conflict/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/determine-if-two-events-have-conflict.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/determine-if-two-events-have-conflict.py
Apply Operations to an Arrayhttps://leetcode.com/problems/apply-operations-to-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/apply-operations-to-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/apply-operations-to-an-array.py
Difference Between Ones and Zeros in Row and Columnhttps://leetcode.com/problems/difference-between-ones-and-zeros-in-row-and-column/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/difference-between-ones-and-zeros-in-row-and-column.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/difference-between-ones-and-zeros-in-row-and-column.py
Delete Greatest Value in Each Rowhttps://leetcode.com/problems/delete-greatest-value-in-each-row/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/delete-greatest-value-in-each-row.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/delete-greatest-value-in-each-row.py
Shortest Distance to Target String in a Circular Arrayhttps://leetcode.com/problems/shortest-distance-to-target-string-in-a-circular-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/shortest-distance-to-target-string-in-a-circular-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/shortest-distance-to-target-string-in-a-circular-array.py
Difference Between Element Sum and Digit Sum of an Arrayhttps://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/difference-between-element-sum-and-digit-sum-of-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/difference-between-element-sum-and-digit-sum-of-an-array.py
Increment Submatrices by Onehttps://leetcode.com/problems/increment-submatrices-by-one/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/increment-submatrices-by-one.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/increment-submatrices-by-one.py
Separate the Digits in an Arrayhttps://leetcode.com/problems/separate-the-digits-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/separate-the-digits-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/separate-the-digits-in-an-array.py
Count Vowel Strings in Rangeshttps://leetcode.com/problems/count-vowel-strings-in-ranges/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-vowel-strings-in-ranges.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-vowel-strings-in-ranges.py
Handling Sum Queries After Updatehttps://leetcode.com/problems/handling-sum-queries-after-update/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/handling-sum-queries-after-update.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/handling-sum-queries-after-update.py
Left and Right Sum Differenceshttps://leetcode.com/problems/left-and-right-sum-differences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/left-and-right-sum-differences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/left-and-right-sum-differences.py
Count Ways to Group Overlapping Rangeshttps://leetcode.com/problems/count-ways-to-group-overlapping-ranges/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-ways-to-group-overlapping-ranges.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-ways-to-group-overlapping-ranges.py
Find the Width of Columns of a Gridhttps://leetcode.com/problems/find-the-width-of-columns-of-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-width-of-columns-of-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-width-of-columns-of-a-grid.py
Find the Score of All Prefixes of an Arrayhttps://leetcode.com/problems/find-the-score-of-all-prefixes-of-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-score-of-all-prefixes-of-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-score-of-all-prefixes-of-an-array.py
Row With Maximum Oneshttps://leetcode.com/problems/row-with-maximum-ones/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/row-with-maximum-ones.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/row-with-maximum-ones.py
Find the Maximum Divisibility Scorehttps://leetcode.com/problems/find-the-maximum-divisibility-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-maximum-divisibility-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-maximum-divisibility-score.py
Find Maximal Uncovered Rangeshttps://leetcode.com/problems/find-maximal-uncovered-ranges/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-maximal-uncovered-ranges.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-maximal-uncovered-ranges.py
Merge Intervalshttps://leetcode.com/problems/merge-intervals/
Determine the Winner of a Bowling Gamehttps://leetcode.com/problems/determine-the-winner-of-a-bowling-game/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/determine-the-winner-of-a-bowling-game.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/determine-the-winner-of-a-bowling-game.py
Number of Adjacent Elements With the Same Colorhttps://leetcode.com/problems/number-of-adjacent-elements-with-the-same-color/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-adjacent-elements-with-the-same-color.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-adjacent-elements-with-the-same-color.py
Neighboring Bitwise XORhttps://leetcode.com/problems/neighboring-bitwise-xor/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/neighboring-bitwise-xor.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/neighboring-bitwise-xor.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#string
Check if Numbers Are Ascending in a Sentencehttps://leetcode.com/problems/check-if-numbers-are-ascending-in-a-sentence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-numbers-are-ascending-in-a-sentence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-numbers-are-ascending-in-a-sentence.py
Number of Valid Words in a Sentencehttps://leetcode.com/problems/number-of-valid-words-in-a-sentence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-valid-words-in-a-sentence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-valid-words-in-a-sentence.py
Next Greater Numerically Balanced Numberhttps://leetcode.com/problems/next-greater-numerically-balanced-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/next-greater-numerically-balanced-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/next-greater-numerically-balanced-number.py
Sum of k-Mirror Numbershttps://leetcode.com/problems/sum-of-k-mirror-numbers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-k-mirror-numbers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-k-mirror-numbers.py
Rings and Rodshttps://leetcode.com/problems/rings-and-rods/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/rings-and-rods.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/rings-and-rods.py
Find First Palindromic String in the Arrayhttps://leetcode.com/problems/find-first-palindromic-string-in-the-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-first-palindromic-string-in-the-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-first-palindromic-string-in-the-array.py
Adding Spaces to a Stringhttps://leetcode.com/problems/adding-spaces-to-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/adding-spaces-to-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/adding-spaces-to-a-string.py
Maximum Number of Words Found in Sentenceshttps://leetcode.com/problems/maximum-number-of-words-found-in-sentences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-words-found-in-sentences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-words-found-in-sentences.py
Check if a Parentheses String Can Be Validhttps://leetcode.com/problems/check-if-a-parentheses-string-can-be-valid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-a-parentheses-string-can-be-valid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-a-parentheses-string-can-be-valid.py
Check if All A's Appears Before All B'shttps://leetcode.com/problems/check-if-all-as-appears-before-all-bs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-all-as-appears-before-all-bs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-all-as-appears-before-all-bs.py
Capitalize the Titlehttps://leetcode.com/problems/capitalize-the-title/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/capitalize-the-title.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/capitalize-the-title.py
Longest Palindrome by Concatenating Two Letter Wordshttps://leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-words/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-palindrome-by-concatenating-two-letter-words.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-palindrome-by-concatenating-two-letter-words.py
Count Words Obtained After Adding a Letterhttps://leetcode.com/problems/count-words-obtained-after-adding-a-letter/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-words-obtained-after-adding-a-letter.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-words-obtained-after-adding-a-letter.py
Divide a String Into Groups of Size khttps://leetcode.com/problems/divide-a-string-into-groups-of-size-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/divide-a-string-into-groups-of-size-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/divide-a-string-into-groups-of-size-k.py
Find Substring With Given Hash Valuehttps://leetcode.com/problems/find-substring-with-given-hash-value/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-substring-with-given-hash-value.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-substring-with-given-hash-value.py
Groups of Stringshttps://leetcode.com/problems/groups-of-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/groups-of-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/groups-of-strings.py
Unique Substrings With Equal Digit Frequencyhttps://leetcode.com/problems/unique-substrings-with-equal-digit-frequency/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/unique-substrings-with-equal-digit-frequency.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/unique-substrings-with-equal-digit-frequency.py
Counting Words With a Given Prefixhttps://leetcode.com/problems/counting-words-with-a-given-prefix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/counting-words-with-a-given-prefix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/counting-words-with-a-given-prefix.py
Minimum Number of Steps to Make Two Strings Anagram IIhttps://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-steps-to-make-two-strings-anagram-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-steps-to-make-two-strings-anagram-ii.py
Minimum Number of Steps to Make Two Strings Anagramhttps://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram/
Count Collisions on a Roadhttps://leetcode.com/problems/count-collisions-on-a-road/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-collisions-on-a-road.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-collisions-on-a-road.py
Longest Substring of One Repeating Characterhttps://leetcode.com/problems/longest-substring-of-one-repeating-character/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-substring-of-one-repeating-character.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-substring-of-one-repeating-character.py
Sum of Scores of Built Stringshttps://leetcode.com/problems/sum-of-scores-of-built-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-scores-of-built-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-scores-of-built-strings.py
Minimize Result by Adding Parentheses to Expressionhttps://leetcode.com/problems/minimize-result-by-adding-parentheses-to-expression/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-result-by-adding-parentheses-to-expression.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-result-by-adding-parentheses-to-expression.py
Calculate Digit Sum of a Stringhttps://leetcode.com/problems/calculate-digit-sum-of-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/calculate-digit-sum-of-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/calculate-digit-sum-of-a-string.py
Count Prefixes of a Given Stringhttps://leetcode.com/problems/count-prefixes-of-a-given-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-prefixes-of-a-given-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-prefixes-of-a-given-string.py
Largest 3-Same-Digit Number in Stringhttps://leetcode.com/problems/largest-3-same-digit-number-in-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/largest-3-same-digit-number-in-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/largest-3-same-digit-number-in-string.py
Find the K-Beauty of a Numberhttps://leetcode.com/problems/find-the-k-beauty-of-a-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-k-beauty-of-a-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-k-beauty-of-a-number.py
Substring With Largest Variancehttps://leetcode.com/problems/substring-with-largest-variance/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/substring-with-largest-variance.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/substring-with-largest-variance.py
Find Resultant Array After Removing Anagramshttps://leetcode.com/problems/find-resultant-array-after-removing-anagrams/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-resultant-array-after-removing-anagrams.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-resultant-array-after-removing-anagrams.py
Percentage of Letter in Stringhttps://leetcode.com/problems/percentage-of-letter-in-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/percentage-of-letter-in-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/percentage-of-letter-in-string.py
Apply Discount to Priceshttps://leetcode.com/problems/apply-discount-to-prices/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/apply-discount-to-prices.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/apply-discount-to-prices.py
Strong Password Checker IIhttps://leetcode.com/problems/strong-password-checker-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/strong-password-checker-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/strong-password-checker-ii.py
Match Substring After Replacementhttps://leetcode.com/problems/match-substring-after-replacement/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/match-substring-after-replacement.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/match-substring-after-replacement.py
Count Asteriskshttps://leetcode.com/problems/count-asterisks/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-asterisks.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-asterisks.py
Shifting Letters IIhttps://leetcode.com/problems/shifting-letters-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/shifting-letters-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/shifting-letters-ii.py
Removing Stars From a Stringhttps://leetcode.com/problems/removing-stars-from-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/removing-stars-from-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/removing-stars-from-a-string.py
Length of the Longest Alphabetical Continuous Substringhttps://leetcode.com/problems/length-of-the-longest-alphabetical-continuous-substring/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/length-of-the-longest-alphabetical-continuous-substring.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/length-of-the-longest-alphabetical-continuous-substring.py
Sum of Prefix Scores of Stringshttps://leetcode.com/problems/sum-of-prefix-scores-of-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-prefix-scores-of-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-prefix-scores-of-strings.py
Circular Sentencehttps://leetcode.com/problems/circular-sentence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/circular-sentence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/circular-sentence.py
Maximum Value of a String in an Arrayhttps://leetcode.com/problems/maximum-value-of-a-string-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-value-of-a-string-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-value-of-a-string-in-an-array.py
Find the Divisibility Array of a Stringhttps://leetcode.com/problems/find-the-divisibility-array-of-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-divisibility-array-of-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-divisibility-array-of-a-string.py
Count the Number of Vowel Strings in Rangehttps://leetcode.com/problems/count-the-number-of-vowel-strings-in-range/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-vowel-strings-in-range.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-vowel-strings-in-range.py
Number of Senior Citizenshttps://leetcode.com/problems/number-of-senior-citizens/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-senior-citizens.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-senior-citizens.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#linked-list
Find the Minimum and Maximum Number of Nodes Between Critical Pointshttps://leetcode.com/problems/find-the-minimum-and-maximum-number-of-nodes-between-critical-points/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-minimum-and-maximum-number-of-nodes-between-critical-points.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-minimum-and-maximum-number-of-nodes-between-critical-points.py
Reverse Nodes in Even Length Groupshttps://leetcode.com/problems/reverse-nodes-in-even-length-groups/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/reverse-nodes-in-even-length-groups.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/reverse-nodes-in-even-length-groups.py
Delete the Middle Node of a Linked Listhttps://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/delete-the-middle-node-of-a-linked-list.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/delete-the-middle-node-of-a-linked-list.py
Maximum Twin Sum of a Linked Listhttps://leetcode.com/problems/maximum-twin-sum-of-a-linked-list/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-twin-sum-of-a-linked-list.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-twin-sum-of-a-linked-list.py
Merge Nodes in Between Zeroshttps://leetcode.com/problems/merge-nodes-in-between-zeros/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/merge-nodes-in-between-zeros.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/merge-nodes-in-between-zeros.py
Remove Nodes From Linked Listhttps://leetcode.com/problems/remove-nodes-from-linked-list/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/remove-nodes-from-linked-list.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/remove-nodes-from-linked-list.py
Split a Circular Linked Listhttps://leetcode.com/problems/split-a-circular-linked-list/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/split-a-circular-linked-list.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/split-a-circular-linked-list.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#stack
Sum of Subarray Rangeshttps://leetcode.com/problems/sum-of-subarray-ranges/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-subarray-ranges.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-subarray-ranges.py
Replace Non-Coprime Numbers in Arrayhttps://leetcode.com/problems/replace-non-coprime-numbers-in-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/replace-non-coprime-numbers-in-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/replace-non-coprime-numbers-in-array.py
Sum of Total Strength of Wizardshttps://leetcode.com/problems/sum-of-total-strength-of-wizards/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-total-strength-of-wizards.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-total-strength-of-wizards.py
Largest Rectangle in Histogramhttps://leetcode.com/problems/largest-rectangle-in-histogram/
Number of People That Can Be Seen in a Gridhttps://leetcode.com/problems/number-of-people-that-can-be-seen-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-people-that-can-be-seen-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-people-that-can-be-seen-in-a-grid.py
Number of Visible People in a Queuehttps://leetcode.com/problems/number-of-visible-people-in-a-queue/
Subarray With Elements Greater Than Varying Thresholdhttps://leetcode.com/problems/subarray-with-elements-greater-than-varying-threshold/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/subarray-with-elements-greater-than-varying-threshold.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/subarray-with-elements-greater-than-varying-threshold.py
Maximum Subarray Min-Producthttps://leetcode.com/problems/maximum-subarray-min-product/
Maximum Number of Books You Can Takehttps://leetcode.com/problems/maximum-number-of-books-you-can-take/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-books-you-can-take.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-books-you-can-take.py
Next Greater Element IVhttps://leetcode.com/problems/next-greater-element-iv/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/next-greater-element-iv.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/next-greater-element-iv.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#queue
Maximum Number of Robots Within Budgethttps://leetcode.com/problems/maximum-number-of-robots-within-budget/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-robots-within-budget.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-robots-within-budget.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#binary-heap
Two Best Non-Overlapping Eventshttps://leetcode.com/problems/two-best-non-overlapping-events/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/two-best-non-overlapping-events.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/two-best-non-overlapping-events.py
Minimum Difference in Sums After Removal of Elementshttps://leetcode.com/problems/minimum-difference-in-sums-after-removal-of-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-difference-in-sums-after-removal-of-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-difference-in-sums-after-removal-of-elements.py
Minimum Operations to Halve Array Sumhttps://leetcode.com/problems/minimum-operations-to-halve-array-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-halve-array-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-halve-array-sum.py
Find the K-Sum of an Arrayhttps://leetcode.com/problems/find-the-k-sum-of-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-k-sum-of-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-k-sum-of-an-array.py
Meeting Rooms IIIhttps://leetcode.com/problems/meeting-rooms-iii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/meeting-rooms-iii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/meeting-rooms-iii.py
Total Cost to Hire K Workershttps://leetcode.com/problems/total-cost-to-hire-k-workers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/total-cost-to-hire-k-workers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/total-cost-to-hire-k-workers.py
Count the Number of K-Big Indiceshttps://leetcode.com/problems/count-the-number-of-k-big-indices/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-k-big-indices.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-k-big-indices.py
Maximal Score After Applying K Operationshttps://leetcode.com/problems/maximal-score-after-applying-k-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximal-score-after-applying-k-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximal-score-after-applying-k-operations.py
Take Gifts From the Richest Pilehttps://leetcode.com/problems/take-gifts-from-the-richest-pile/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/take-gifts-from-the-richest-pile.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/take-gifts-from-the-richest-pile.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#tree
Smallest Missing Genetic Value in Each Subtreehttps://leetcode.com/problems/smallest-missing-genetic-value-in-each-subtree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-missing-genetic-value-in-each-subtree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-missing-genetic-value-in-each-subtree.py
Step-By-Step Directions From a Binary Tree Node to Anotherhttps://leetcode.com/problems/step-by-step-directions-from-a-binary-tree-node-to-another/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/step-by-step-directions-from-a-binary-tree-node-to-another.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/step-by-step-directions-from-a-binary-tree-node-to-another.py
Count Good Triplets in an Arrayhttps://leetcode.com/problems/count-good-triplets-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-good-triplets-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-good-triplets-in-an-array.py
Create Sorted Array through Instructionshttps://leetcode.com/problems/create-sorted-array-through-instructions/
Create Binary Tree From Descriptionshttps://leetcode.com/problems/create-binary-tree-from-descriptions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/create-binary-tree-from-descriptions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/create-binary-tree-from-descriptions.py
Root Equals Sum of Childrenhttps://leetcode.com/problems/root-equals-sum-of-children/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/root-equals-sum-of-children.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/root-equals-sum-of-children.py
Closest Node to Path in Treehttps://leetcode.com/problems/closest-node-to-path-in-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/closest-node-to-path-in-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/closest-node-to-path-in-tree.py
Number of Good Pathshttps://leetcode.com/problems/number-of-good-paths/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-good-paths.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-good-paths.py
Cycle Length Queries in a Treehttps://leetcode.com/problems/cycle-length-queries-in-a-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/cycle-length-queries-in-a-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/cycle-length-queries-in-a-tree.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#hash-table
Count Number of Pairs With Absolute Difference Khttps://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-pairs-with-absolute-difference-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-pairs-with-absolute-difference-k.py
Two Sumhttps://leetcode.com/problems/two-sum/
Number of Pairs of Strings With Concatenation Equal to Targethttps://leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-pairs-of-strings-with-concatenation-equal-to-target.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-pairs-of-strings-with-concatenation-equal-to-target.py
Two Sumhttps://leetcode.com/problems/two-sum/
Maximum Number of Ways to Partition an Arrayhttps://leetcode.com/problems/maximum-number-of-ways-to-partition-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-ways-to-partition-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-ways-to-partition-an-array.py
Two Out of Threehttps://leetcode.com/problems/two-out-of-three/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/two-out-of-three.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/two-out-of-three.py
Kth Distinct String in an Arrayhttps://leetcode.com/problems/kth-distinct-string-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/kth-distinct-string-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/kth-distinct-string-in-an-array.py
Check Whether Two Strings are Almost Equivalenthttps://leetcode.com/problems/check-whether-two-strings-are-almost-equivalent/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-whether-two-strings-are-almost-equivalent.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-whether-two-strings-are-almost-equivalent.py
Count Common Words With One Occurrencehttps://leetcode.com/problems/count-common-words-with-one-occurrence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-common-words-with-one-occurrence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-common-words-with-one-occurrence.py
Execution of All Suffix Instructions Staying in a Gridhttps://leetcode.com/problems/execution-of-all-suffix-instructions-staying-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/execution-of-all-suffix-instructions-staying-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/execution-of-all-suffix-instructions-staying-in-a-grid.py
Find All Lonely Numbers in the Arrayhttps://leetcode.com/problems/find-all-lonely-numbers-in-the-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-all-lonely-numbers-in-the-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-all-lonely-numbers-in-the-array.py
Keep Multiplying Found Values by Twohttps://leetcode.com/problems/keep-multiplying-found-values-by-two/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/keep-multiplying-found-values-by-two.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/keep-multiplying-found-values-by-two.py
Minimum Operations to Make the Array Alternatinghttps://leetcode.com/problems/minimum-operations-to-make-the-array-alternating/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-make-the-array-alternating.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-make-the-array-alternating.py
Most Frequent Number Following Key In an Arrayhttps://leetcode.com/problems/most-frequent-number-following-key-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/most-frequent-number-following-key-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/most-frequent-number-following-key-in-an-array.py
Count Artifacts That Can Be Extractedhttps://leetcode.com/problems/count-artifacts-that-can-be-extracted/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-artifacts-that-can-be-extracted.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-artifacts-that-can-be-extracted.py
Divide Array Into Equal Pairshttps://leetcode.com/problems/divide-array-into-equal-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/divide-array-into-equal-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/divide-array-into-equal-pairs.py
Find the Difference of Two Arrayshttps://leetcode.com/problems/find-the-difference-of-two-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-difference-of-two-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-difference-of-two-arrays.py
Find Players With Zero or One Losseshttps://leetcode.com/problems/find-players-with-zero-or-one-losses/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-players-with-zero-or-one-losses.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-players-with-zero-or-one-losses.py
Check if an Array Is Consecutivehttps://leetcode.com/problems/check-if-an-array-is-consecutive/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-an-array-is-consecutive.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-an-array-is-consecutive.py
Minimum Consecutive Cards to Pick Uphttps://leetcode.com/problems/minimum-consecutive-cards-to-pick-up/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-consecutive-cards-to-pick-up.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-consecutive-cards-to-pick-up.py
K Divisible Elements Subarrayshttps://leetcode.com/problems/k-divisible-elements-subarrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/k-divisible-elements-subarrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/k-divisible-elements-subarrays.py
Check if Number Has Equal Digit Count and Digit Valuehttps://leetcode.com/problems/check-if-number-has-equal-digit-count-and-digit-value/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-number-has-equal-digit-count-and-digit-value.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-number-has-equal-digit-count-and-digit-value.py
Sender With Largest Word Counthttps://leetcode.com/problems/sender-with-largest-word-count/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sender-with-largest-word-count.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sender-with-largest-word-count.py
Rearrange Characters to Make Target Stringhttps://leetcode.com/problems/rearrange-characters-to-make-target-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/rearrange-characters-to-make-target-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/rearrange-characters-to-make-target-string.py
Replace Elements in an Arrayhttps://leetcode.com/problems/replace-elements-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/replace-elements-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/replace-elements-in-an-array.py
Naming a Companyhttps://leetcode.com/problems/naming-a-company/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/naming-a-company.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/naming-a-company.py
Greatest English Letter in Upper and Lower Casehttps://leetcode.com/problems/greatest-english-letter-in-upper-and-lower-case/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/greatest-english-letter-in-upper-and-lower-case.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/greatest-english-letter-in-upper-and-lower-case.py
Decode the Messagehttps://leetcode.com/problems/decode-the-message/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/decode-the-message.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/decode-the-message.py
Maximum Number of Pairs in Arrayhttps://leetcode.com/problems/maximum-number-of-pairs-in-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-pairs-in-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-pairs-in-array.py
Max Sum of a Pair With Equal Sum of Digitshttps://leetcode.com/problems/max-sum-of-a-pair-with-equal-sum-of-digits/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/max-sum-of-a-pair-with-equal-sum-of-digits.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/max-sum-of-a-pair-with-equal-sum-of-digits.py
Best Poker Handhttps://leetcode.com/problems/best-poker-hand/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/best-poker-hand.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/best-poker-hand.py
First Letter to Appear Twicehttps://leetcode.com/problems/first-letter-to-appear-twice/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/first-letter-to-appear-twice.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/first-letter-to-appear-twice.py
Equal Row and Column Pairshttps://leetcode.com/problems/equal-row-and-column-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/equal-row-and-column-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/equal-row-and-column-pairs.py
Number of Excellent Pairshttps://leetcode.com/problems/number-of-excellent-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-excellent-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-excellent-pairs.py
Make Array Zero by Subtracting Equal Amountshttps://leetcode.com/problems/make-array-zero-by-subtracting-equal-amounts/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-array-zero-by-subtracting-equal-amounts.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-array-zero-by-subtracting-equal-amounts.py
Merge Similar Itemshttps://leetcode.com/problems/merge-similar-items/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/merge-similar-items.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/merge-similar-items.py
Count Number of Bad Pairshttps://leetcode.com/problems/count-number-of-bad-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-bad-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-bad-pairs.py
Count Nice Pairs in an Arrayhttps://leetcode.com/problems/count-nice-pairs-in-an-array/
Task Scheduler IIhttps://leetcode.com/problems/task-scheduler-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/task-scheduler-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/task-scheduler-ii.py
Number of Arithmetic Tripletshttps://leetcode.com/problems/number-of-arithmetic-triplets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-arithmetic-triplets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-arithmetic-triplets.py
Node With Highest Edge Scorehttps://leetcode.com/problems/node-with-highest-edge-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/node-with-highest-edge-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/node-with-highest-edge-score.py
Find Subarrays With Equal Sumhttps://leetcode.com/problems/find-subarrays-with-equal-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-subarrays-with-equal-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-subarrays-with-equal-sum.py
Check Distances Between Same Lettershttps://leetcode.com/problems/check-distances-between-same-letters/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-distances-between-same-letters.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-distances-between-same-letters.py
Most Frequent Even Elementhttps://leetcode.com/problems/most-frequent-even-element/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/most-frequent-even-element.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/most-frequent-even-element.py
Remove Letter To Equalize Frequencyhttps://leetcode.com/problems/remove-letter-to-equalize-frequency/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/remove-letter-to-equalize-frequency.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/remove-letter-to-equalize-frequency.py
Largest Positive Integer That Exists With Its Negativehttps://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/largest-positive-integer-that-exists-with-its-negative.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/largest-positive-integer-that-exists-with-its-negative.py
Count Number of Distinct Integers After Reverse Operationshttps://leetcode.com/problems/count-number-of-distinct-integers-after-reverse-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-distinct-integers-after-reverse-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-distinct-integers-after-reverse-operations.py
Odd String Differencehttps://leetcode.com/problems/odd-string-difference/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/odd-string-difference.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/odd-string-difference.py
Words Within Two Edits of Dictionaryhttps://leetcode.com/problems/words-within-two-edits-of-dictionary/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/words-within-two-edits-of-dictionary.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/words-within-two-edits-of-dictionary.py
MHC2022 - Round 3https://www.facebook.com/codingcompetitions/hacker-cup/2022/round-3/problems/C
Destroy Sequential Targetshttps://leetcode.com/problems/destroy-sequential-targets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/destroy-sequential-targets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/destroy-sequential-targets.py
Most Popular Video Creatorhttps://leetcode.com/problems/most-popular-video-creator/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/most-popular-video-creator.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/most-popular-video-creator.py
Count Palindromic Subsequenceshttps://leetcode.com/problems/count-palindromic-subsequences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-palindromic-subsequences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-palindromic-subsequences.py
Count Subarrays With Median Khttps://leetcode.com/problems/count-subarrays-with-median-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-subarrays-with-median-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-subarrays-with-median-k.py
Number of Substrings With Fixed Ratiohttps://leetcode.com/problems/number-of-substrings-with-fixed-ratio/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-substrings-with-fixed-ratio.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-substrings-with-fixed-ratio.py
Divide Players Into Teams of Equal Skillhttps://leetcode.com/problems/divide-players-into-teams-of-equal-skill/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/divide-players-into-teams-of-equal-skill.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/divide-players-into-teams-of-equal-skill.py
Longest Square Streak in an Arrayhttps://leetcode.com/problems/longest-square-streak-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-square-streak-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-square-streak-in-an-array.py
Count Pairs Of Similar Stringshttps://leetcode.com/problems/count-pairs-of-similar-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-pairs-of-similar-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-pairs-of-similar-strings.py
Make Number of Distinct Characters Equalhttps://leetcode.com/problems/make-number-of-distinct-characters-equal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-number-of-distinct-characters-equal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-number-of-distinct-characters-equal.py
Substring XOR Querieshttps://leetcode.com/problems/substring-xor-queries/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/substring-xor-queries.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/substring-xor-queries.py
Count the Number of Beautiful Subarrayshttps://leetcode.com/problems/count-the-number-of-beautiful-subarrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-beautiful-subarrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-beautiful-subarrays.py
Maximize Greatness of an Arrayhttps://leetcode.com/problems/maximize-greatness-of-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-greatness-of-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-greatness-of-an-array.py
Smallest Missing Non-negative Integer After Operationshttps://leetcode.com/problems/smallest-missing-non-negative-integer-after-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-missing-non-negative-integer-after-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-missing-non-negative-integer-after-operations.py
Form Smallest Number From Two Digit Arrayshttps://leetcode.com/problems/form-smallest-number-from-two-digit-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/form-smallest-number-from-two-digit-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/form-smallest-number-from-two-digit-arrays.py
Sum of Distanceshttps://leetcode.com/problems/sum-of-distances/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-distances.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-distances.py
Find the Prefix Common Array of Two Arrayshttps://leetcode.com/problems/find-the-prefix-common-array-of-two-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-prefix-common-array-of-two-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-prefix-common-array-of-two-arrays.py
First Completely Painted Row or Columnhttps://leetcode.com/problems/first-completely-painted-row-or-column/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/first-completely-painted-row-or-column.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/first-completely-painted-row-or-column.py
Find the Distinct Difference Arrayhttps://leetcode.com/problems/find-the-distinct-difference-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-distinct-difference-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-distinct-difference-array.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#math
Number of Pairs of Interchangeable Rectangleshttps://leetcode.com/problems/number-of-pairs-of-interchangeable-rectangles/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-pairs-of-interchangeable-rectangles.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-pairs-of-interchangeable-rectangles.py
Subtree Removal Game with Fibonacci Treehttps://leetcode.com/problems/subtree-removal-game-with-fibonacci-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/subtree-removal-game-with-fibonacci-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/subtree-removal-game-with-fibonacci-tree.py
Find Missing Observationshttps://leetcode.com/problems/find-missing-observations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-missing-observations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-missing-observations.py
Stone Game IXhttps://leetcode.com/problems/stone-game-ix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/stone-game-ix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/stone-game-ix.py
Vowels of All Substringshttps://leetcode.com/problems/vowels-of-all-substrings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/vowels-of-all-substrings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/vowels-of-all-substrings.py
Time Needed to Buy Ticketshttps://leetcode.com/problems/time-needed-to-buy-tickets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/time-needed-to-buy-tickets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/time-needed-to-buy-tickets.py
Substrings That Begin and End With the Same Letterhttps://leetcode.com/problems/substrings-that-begin-and-end-with-the-same-letter/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/substrings-that-begin-and-end-with-the-same-letter.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/substrings-that-begin-and-end-with-the-same-letter.py
Removing Minimum and Maximum From Arrayhttps://leetcode.com/problems/removing-minimum-and-maximum-from-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/removing-minimum-and-maximum-from-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/removing-minimum-and-maximum-from-array.py
Number of Smooth Descent Periods of a Stockhttps://leetcode.com/problems/number-of-smooth-descent-periods-of-a-stock/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-smooth-descent-periods-of-a-stock.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-smooth-descent-periods-of-a-stock.py
Abbreviating the Product of a Rangehttps://leetcode.com/problems/abbreviating-the-product-of-a-range/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/abbreviating-the-product-of-a-range.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/abbreviating-the-product-of-a-range.py
A Number After a Double Reversalhttps://leetcode.com/problems/a-number-after-a-double-reversal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/a-number-after-a-double-reversal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/a-number-after-a-double-reversal.py
Number of Laser Beams in a Bankhttps://leetcode.com/problems/number-of-laser-beams-in-a-bank/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-laser-beams-in-a-bank.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-laser-beams-in-a-bank.py
Check if Every Row and Column Contains All Numbershttps://leetcode.com/problems/check-if-every-row-and-column-contains-all-numbers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-every-row-and-column-contains-all-numbers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-every-row-and-column-contains-all-numbers.py
Count the Hidden Sequenceshttps://leetcode.com/problems/count-the-hidden-sequences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-hidden-sequences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-hidden-sequences.py
Count Elements With Strictly Smaller and Greater Elementshttps://leetcode.com/problems/count-elements-with-strictly-smaller-and-greater-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-elements-with-strictly-smaller-and-greater-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-elements-with-strictly-smaller-and-greater-elements.py
Minimum Number of Lines to Cover Pointshttps://leetcode.com/problems/minimum-number-of-lines-to-cover-points/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-lines-to-cover-points.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-lines-to-cover-points.py
Count Operations to Obtain Zerohttps://leetcode.com/problems/count-operations-to-obtain-zero/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-operations-to-obtain-zero.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-operations-to-obtain-zero.py
Removing Minimum Number of Magic Beanshttps://leetcode.com/problems/removing-minimum-number-of-magic-beans/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/removing-minimum-number-of-magic-beans.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/removing-minimum-number-of-magic-beans.py
Count Equal and Divisible Pairs in an Arrayhttps://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-equal-and-divisible-pairs-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-equal-and-divisible-pairs-in-an-array.py
Find Three Consecutive Integers That Sum to a Given Numberhttps://leetcode.com/problems/find-three-consecutive-integers-that-sum-to-a-given-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-three-consecutive-integers-that-sum-to-a-given-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-three-consecutive-integers-that-sum-to-a-given-number.py
Count Integers With Even Digit Sumhttps://leetcode.com/problems/count-integers-with-even-digit-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-integers-with-even-digit-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-integers-with-even-digit-sum.py
Count Array Pairs Divisible by Khttps://leetcode.com/problems/count-array-pairs-divisible-by-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-array-pairs-divisible-by-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-array-pairs-divisible-by-k.py
Count Equal and Divisible Pairs in an Arrayhttps://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array/
Number of Single Divisor Tripletshttps://leetcode.com/problems/number-of-single-divisor-triplets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-single-divisor-triplets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-single-divisor-triplets.py
Find Palindrome With Fixed Lengthhttps://leetcode.com/problems/find-palindrome-with-fixed-length/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-palindrome-with-fixed-length.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-palindrome-with-fixed-length.py
Find Triangular Sum of an Arrayhttps://leetcode.com/problems/find-triangular-sum-of-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-triangular-sum-of-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-triangular-sum-of-an-array.py
Add Two Integershttps://leetcode.com/problems/add-two-integers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/add-two-integers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/add-two-integers.py
Number of Ways to Buy Pens and Pencilshttps://leetcode.com/problems/number-of-ways-to-buy-pens-and-pencils/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-buy-pens-and-pencils.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-buy-pens-and-pencils.py
Minimum Rounds to Complete All Taskshttps://leetcode.com/problems/minimum-rounds-to-complete-all-tasks/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-rounds-to-complete-all-tasks.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-rounds-to-complete-all-tasks.py
Count Lattice Points Inside a Circlehttps://leetcode.com/problems/count-lattice-points-inside-a-circle/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-lattice-points-inside-a-circle.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-lattice-points-inside-a-circle.py
Total Appeal of A Stringhttps://leetcode.com/problems/total-appeal-of-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/total-appeal-of-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/total-appeal-of-a-string.py
Count Unique Characters of All Substrings of a Given Stringhttps://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string/
Minimum Lines to Represent a Line Charthttps://leetcode.com/problems/minimum-lines-to-represent-a-line-chart/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-lines-to-represent-a-line-chart.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-lines-to-represent-a-line-chart.py
Sum of Numbers With Units Digit Khttps://leetcode.com/problems/sum-of-numbers-with-units-digit-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-numbers-with-units-digit-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-numbers-with-units-digit-k.py
Count the Number of Ideal Arrayshttps://leetcode.com/problems/count-the-number-of-ideal-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-ideal-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-ideal-arrays.py
Count Ways to Make Array With Producthttps://leetcode.com/problems/count-ways-to-make-array-with-product/
Minimum Deletions to Make Array Divisiblehttps://leetcode.com/problems/minimum-deletions-to-make-array-divisible/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-deletions-to-make-array-divisible.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-deletions-to-make-array-divisible.py
Finding the Number of Visible Mountainshttps://leetcode.com/problems/finding-the-number-of-visible-mountains/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/finding-the-number-of-visible-mountains.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/finding-the-number-of-visible-mountains.py
Count Special Integershttps://leetcode.com/problems/count-special-integers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-special-integers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-special-integers.py
Numbers With Repeated Digitshttps://leetcode.com/problems/numbers-with-repeated-digits/
Strictly Palindromic Numberhttps://leetcode.com/problems/strictly-palindromic-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/strictly-palindromic-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/strictly-palindromic-number.py
Number of Ways to Reach a Position After Exactly k Stepshttps://leetcode.com/problems/number-of-ways-to-reach-a-position-after-exactly-k-steps/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-reach-a-position-after-exactly-k-steps.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-reach-a-position-after-exactly-k-steps.py
Count Days Spent Togetherhttps://leetcode.com/problems/count-days-spent-together/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-days-spent-together.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-days-spent-together.py
Smallest Even Multiplehttps://leetcode.com/problems/smallest-even-multiple/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-even-multiple.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-even-multiple.py
Number of Common Factorshttps://leetcode.com/problems/number-of-common-factors/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-common-factors.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-common-factors.py
Number of Valid Clock Timeshttps://leetcode.com/problems/number-of-valid-clock-times/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-valid-clock-times.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-valid-clock-times.py
Number of Distinct Binary Strings After Applying Operationshttps://leetcode.com/problems/number-of-distinct-binary-strings-after-applying-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-distinct-binary-strings-after-applying-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-distinct-binary-strings-after-applying-operations.py
Average Value of Even Numbers That Are Divisible by Threehttps://leetcode.com/problems/average-value-of-even-numbers-that-are-divisible-by-three/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/average-value-of-even-numbers-that-are-divisible-by-three.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/average-value-of-even-numbers-that-are-divisible-by-three.py
Split Message Based on Limithttps://leetcode.com/problems/split-message-based-on-limit/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/split-message-based-on-limit.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/split-message-based-on-limit.py
Convert the Temperaturehttps://leetcode.com/problems/convert-the-temperature/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/convert-the-temperature.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/convert-the-temperature.py
Minimum Cuts to Divide a Circlehttps://leetcode.com/problems/minimum-cuts-to-divide-a-circle/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cuts-to-divide-a-circle.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cuts-to-divide-a-circle.py
Find the Pivot Integerhttps://leetcode.com/problems/find-the-pivot-integer/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-pivot-integer.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-pivot-integer.py
Count Anagramshttps://leetcode.com/problems/count-anagrams/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-anagrams.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-anagrams.py
Count the Digits That Divide a Numberhttps://leetcode.com/problems/count-the-digits-that-divide-a-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-digits-that-divide-a-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-digits-that-divide-a-number.py
Distinct Prime Factors of Product of Arrayhttps://leetcode.com/problems/distinct-prime-factors-of-product-of-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/distinct-prime-factors-of-product-of-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/distinct-prime-factors-of-product-of-array.py
Closest Prime Numbers in Rangehttps://leetcode.com/problems/closest-prime-numbers-in-range/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/closest-prime-numbers-in-range.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/closest-prime-numbers-in-range.py
Categorize Box According to Criteriahttps://leetcode.com/problems/categorize-box-according-to-criteria/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/categorize-box-according-to-criteria.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/categorize-box-according-to-criteria.py
Count the Number of Good Subsequenceshttps://leetcode.com/problems/count-the-number-of-good-subsequences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-good-subsequences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-good-subsequences.py
Check if Point Is Reachablehttps://leetcode.com/problems/check-if-point-is-reachable/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-point-is-reachable.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-point-is-reachable.py
Alternating Digit Sumhttps://leetcode.com/problems/alternating-digit-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/alternating-digit-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/alternating-digit-sum.py
Count Distinct Numbers on Boardhttps://leetcode.com/problems/count-distinct-numbers-on-board/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-distinct-numbers-on-board.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-distinct-numbers-on-board.py
Count Collisions of Monkeys on a Polygonhttps://leetcode.com/problems/count-collisions-of-monkeys-on-a-polygon/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-collisions-of-monkeys-on-a-polygon.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-collisions-of-monkeys-on-a-polygon.py
Find the Array Concatenation Valuehttps://leetcode.com/problems/find-the-array-concatenation-value/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-array-concatenation-value.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-array-concatenation-value.py
Minimum Impossible ORhttps://leetcode.com/problems/minimum-impossible-or/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-impossible-or.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-impossible-or.py
Count Total Number of Colored Cellshttps://leetcode.com/problems/count-total-number-of-colored-cells/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-total-number-of-colored-cells.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-total-number-of-colored-cells.py
Pass the Pillowhttps://leetcode.com/problems/pass-the-pillow/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/pass-the-pillow.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/pass-the-pillow.py
Split the Array to Make Coprime Productshttps://leetcode.com/problems/split-the-array-to-make-coprime-products/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/split-the-array-to-make-coprime-products.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/split-the-array-to-make-coprime-products.py
Prime In Diagonalhttps://leetcode.com/problems/prime-in-diagonal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/prime-in-diagonal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/prime-in-diagonal.py
Calculate Delayed Arrival Timehttps://leetcode.com/problems/calculate-delayed-arrival-time/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/calculate-delayed-arrival-time.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/calculate-delayed-arrival-time.py
Sum Multipleshttps://leetcode.com/problems/sum-multiples/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-multiples.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-multiples.py
Maximum Sum With Exactly K Elements https://leetcode.com/problems/maximum-sum-with-exactly-k-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-sum-with-exactly-k-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-sum-with-exactly-k-elements.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#sort
Average Height of Buildings in Each Segmenthttps://leetcode.com/problems/average-height-of-buildings-in-each-segment/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/average-height-of-buildings-in-each-segment.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/average-height-of-buildings-in-each-segment.py
Brightest Position on Streethttps://leetcode.com/problems/brightest-position-on-street/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/brightest-position-on-street.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/brightest-position-on-street.py
Most Beautiful Item for Each Queryhttps://leetcode.com/problems/most-beautiful-item-for-each-query/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/most-beautiful-item-for-each-query.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/most-beautiful-item-for-each-query.py
Find Target Indices After Sorting Arrayhttps://leetcode.com/problems/find-target-indices-after-sorting-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-target-indices-after-sorting-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-target-indices-after-sorting-array.py
Amount of New Area Painted Each Dayhttps://leetcode.com/problems/amount-of-new-area-painted-each-day/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/amount-of-new-area-painted-each-day.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/amount-of-new-area-painted-each-day.py
Sort Even and Odd Indices Independentlyhttps://leetcode.com/problems/sort-even-and-odd-indices-independently/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sort-even-and-odd-indices-independently.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sort-even-and-odd-indices-independently.py
Sort the Jumbled Numbershttps://leetcode.com/problems/sort-the-jumbled-numbers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sort-the-jumbled-numbers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sort-the-jumbled-numbers.py
Largest Number After Digit Swaps by Parityhttps://leetcode.com/problems/largest-number-after-digit-swaps-by-parity/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/largest-number-after-digit-swaps-by-parity.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/largest-number-after-digit-swaps-by-parity.py
Maximum Product After K Incrementshttps://leetcode.com/problems/maximum-product-after-k-increments/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-product-after-k-increments.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-product-after-k-increments.py
Intersection of Multiple Arrayshttps://leetcode.com/problems/intersection-of-multiple-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/intersection-of-multiple-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/intersection-of-multiple-arrays.py
Number of Flowers in Full Bloomhttps://leetcode.com/problems/number-of-flowers-in-full-bloom/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-flowers-in-full-bloom.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-flowers-in-full-bloom.py
Query Kth Smallest Trimmed Numberhttps://leetcode.com/problems/query-kth-smallest-trimmed-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/query-kth-smallest-trimmed-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/query-kth-smallest-trimmed-number.py
Sort the Peoplehttps://leetcode.com/problems/sort-the-people/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sort-the-people.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sort-the-people.py
Maximum Star Sum of a Graphhttps://leetcode.com/problems/maximum-star-sum-of-a-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-star-sum-of-a-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-star-sum-of-a-graph.py
Reward Top K Studentshttps://leetcode.com/problems/reward-top-k-students/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/reward-top-k-students.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/reward-top-k-students.py
Sort the Students by Their Kth Scorehttps://leetcode.com/problems/sort-the-students-by-their-kth-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sort-the-students-by-their-kth-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sort-the-students-by-their-kth-score.py
Make Array Emptyhttps://leetcode.com/problems/make-array-empty/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-array-empty.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-array-empty.py
Sum in a Matrixhttps://leetcode.com/problems/sum-in-a-matrix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-in-a-matrix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-in-a-matrix.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#two-pointers
Minimum Number of Operations to Make Array Continuoushttps://leetcode.com/problems/minimum-number-of-operations-to-make-array-continuous/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-operations-to-make-array-continuous.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-operations-to-make-array-continuous.py
Maximize the Confusion of an Examhttps://leetcode.com/problems/maximize-the-confusion-of-an-exam/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-the-confusion-of-an-exam.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-the-confusion-of-an-exam.py
Longest Repeating Character Replacementhttps://leetcode.com/problems/longest-repeating-character-replacement/
Kth Smallest Product of Two Sorted Arrayshttps://leetcode.com/problems/kth-smallest-product-of-two-sorted-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/kth-smallest-product-of-two-sorted-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/kth-smallest-product-of-two-sorted-arrays.py
Sort Linked List Already Sorted Using Absolute Valueshttps://leetcode.com/problems/sort-linked-list-already-sorted-using-absolute-values/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sort-linked-list-already-sorted-using-absolute-values.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sort-linked-list-already-sorted-using-absolute-values.py
Count Vowel Substrings of a Stringhttps://leetcode.com/problems/count-vowel-substrings-of-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-vowel-substrings-of-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-vowel-substrings-of-a-string.py
Count Number of Nice Subarrayshttps://leetcode.com/problems/count-number-of-nice-subarrays/
Number of Equal Count Substringshttps://leetcode.com/problems/number-of-equal-count-substrings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-equal-count-substrings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-equal-count-substrings.py
K Radius Subarray Averageshttps://leetcode.com/problems/k-radius-subarray-averages/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/k-radius-subarray-averages.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/k-radius-subarray-averages.py
Watering Plants IIhttps://leetcode.com/problems/watering-plants-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/watering-plants-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/watering-plants-ii.py
Number of Unique Flavors After Sharing K Candieshttps://leetcode.com/problems/number-of-unique-flavors-after-sharing-k-candies/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-unique-flavors-after-sharing-k-candies.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-unique-flavors-after-sharing-k-candies.py
Minimum Swaps to Group All 1's Together IIhttps://leetcode.com/problems/minimum-swaps-to-group-all-1s-together-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-swaps-to-group-all-1s-together-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-swaps-to-group-all-1s-together-ii.py
Rearrange Array Elements by Signhttps://leetcode.com/problems/rearrange-array-elements-by-sign/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/rearrange-array-elements-by-sign.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/rearrange-array-elements-by-sign.py
Partition Array According to Given Pivothttps://leetcode.com/problems/partition-array-according-to-given-pivot/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/partition-array-according-to-given-pivot.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/partition-array-according-to-given-pivot.py
Find All K-Distant Indices in an Arrayhttps://leetcode.com/problems/find-all-k-distant-indices-in-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-all-k-distant-indices-in-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-all-k-distant-indices-in-an-array.py
Maximum Total Beauty of the Gardenshttps://leetcode.com/problems/maximum-total-beauty-of-the-gardens/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-total-beauty-of-the-gardens.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-total-beauty-of-the-gardens.py
Count Subarrays With Score Less Than Khttps://leetcode.com/problems/count-subarrays-with-score-less-than-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-subarrays-with-score-less-than-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-subarrays-with-score-less-than-k.py
Valid Palindrome IVhttps://leetcode.com/problems/valid-palindrome-iv/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/valid-palindrome-iv.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/valid-palindrome-iv.py
The Latest Time to Catch a Bushttps://leetcode.com/problems/the-latest-time-to-catch-a-bus/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/the-latest-time-to-catch-a-bus.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/the-latest-time-to-catch-a-bus.py
Move Pieces to Obtain a Stringhttps://leetcode.com/problems/move-pieces-to-obtain-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/move-pieces-to-obtain-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/move-pieces-to-obtain-a-string.py
Number of Zero-Filled Subarrayshttps://leetcode.com/problems/number-of-zero-filled-subarrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-zero-filled-subarrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-zero-filled-subarrays.py
Minimum Recolors to Get K Consecutive Black Blockshttps://leetcode.com/problems/minimum-recolors-to-get-k-consecutive-black-blocks/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-recolors-to-get-k-consecutive-black-blocks.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-recolors-to-get-k-consecutive-black-blocks.py
Count Strictly Increasing Subarrayshttps://leetcode.com/problems/count-strictly-increasing-subarrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-strictly-increasing-subarrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-strictly-increasing-subarrays.py
Longest Nice Subarrayhttps://leetcode.com/problems/longest-nice-subarray/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-nice-subarray.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-nice-subarray.py
Count Subarrays With Fixed Boundshttps://leetcode.com/problems/count-subarrays-with-fixed-bounds/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-subarrays-with-fixed-bounds.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-subarrays-with-fixed-bounds.py
Number of Substrings Containing All Three Charactershttps://leetcode.com/problems/number-of-substrings-containing-all-three-characters/
Maximum Sum of Distinct Subarrays With Length Khttps://leetcode.com/problems/maximum-sum-of-distinct-subarrays-with-length-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-sum-of-distinct-subarrays-with-length-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-sum-of-distinct-subarrays-with-length-k.py
Number of Distinct Averageshttps://leetcode.com/problems/number-of-distinct-averages/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-distinct-averages.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-distinct-averages.py
Maximum Enemy Forts That Can Be Capturedhttps://leetcode.com/problems/maximum-enemy-forts-that-can-be-captured/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-enemy-forts-that-can-be-captured.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-enemy-forts-that-can-be-captured.py
Take K of Each Character From Left and Righthttps://leetcode.com/problems/take-k-of-each-character-from-left-and-right/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/take-k-of-each-character-from-left-and-right.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/take-k-of-each-character-from-left-and-right.py
Maximum Frequency Score of a Subarrayhttps://leetcode.com/problems/maximum-frequency-score-of-a-subarray/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-frequency-score-of-a-subarray.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-frequency-score-of-a-subarray.py
Count the Number of Good Subarrayshttps://leetcode.com/problems/count-the-number-of-good-subarrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-good-subarrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-good-subarrays.py
Minimum Common Valuehttps://leetcode.com/problems/minimum-common-value/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-common-value.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-common-value.py
Maximize Win From Two Segmentshttps://leetcode.com/problems/maximize-win-from-two-segments/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-win-from-two-segments.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-win-from-two-segments.py
Count the Number of Fair Pairshttps://leetcode.com/problems/count-the-number-of-fair-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-fair-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-fair-pairs.py
Merge Two 2D Arrays by Summing Valueshttps://leetcode.com/problems/merge-two-2d-arrays-by-summing-values/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/merge-two-2d-arrays-by-summing-values.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/merge-two-2d-arrays-by-summing-values.py
Find the Longest Balanced Substring of a Binary Stringhttps://leetcode.com/problems/find-the-longest-balanced-substring-of-a-binary-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-longest-balanced-substring-of-a-binary-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-longest-balanced-substring-of-a-binary-string.py
Sliding Subarray Beautyhttps://leetcode.com/problems/sliding-subarray-beauty/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sliding-subarray-beauty.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sliding-subarray-beauty.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#recursion
Beautiful Pairshttps://leetcode.com/problems/beautiful-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/beautiful-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/beautiful-pairs.py
SPOJ - Closest Point Pairhttps://www.spoj.com/problems/CLOPPAIR/
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#binary-search
Minimized Maximum of Products Distributed to Any Storehttps://leetcode.com/problems/minimized-maximum-of-products-distributed-to-any-store/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimized-maximum-of-products-distributed-to-any-store.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimized-maximum-of-products-distributed-to-any-store.py
Minimum Limit of Balls in a Baghttps://leetcode.com/problems/minimum-limit-of-balls-in-a-bag/
Minimum Operations to Make the Array K-Increasinghttps://leetcode.com/problems/minimum-operations-to-make-the-array-k-increasing/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-make-the-array-k-increasing.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-make-the-array-k-increasing.py
Longest Increasing Subsequencehttps://leetcode.com/problems/longest-increasing-subsequence/
Pour Water Between Buckets to Make Water Levels Equalhttps://leetcode.com/problems/pour-water-between-buckets-to-make-water-levels-equal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/pour-water-between-buckets-to-make-water-levels-equal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/pour-water-between-buckets-to-make-water-levels-equal.py
Minimum Time to Complete Tripshttps://leetcode.com/problems/minimum-time-to-complete-trips/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-complete-trips.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-complete-trips.py
Maximum Candies Allocated to K Childrenhttps://leetcode.com/problems/maximum-candies-allocated-to-k-children/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-candies-allocated-to-k-children.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-candies-allocated-to-k-children.py
Count Number of Rectangles Containing Each Pointhttps://leetcode.com/problems/count-number-of-rectangles-containing-each-point/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-rectangles-containing-each-point.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-rectangles-containing-each-point.py
Successful Pairs of Spells and Potionshttps://leetcode.com/problems/successful-pairs-of-spells-and-potions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/successful-pairs-of-spells-and-potions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/successful-pairs-of-spells-and-potions.py
Minimum Sum of Squared Differencehttps://leetcode.com/problems/minimum-sum-of-squared-difference/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-sum-of-squared-difference.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-sum-of-squared-difference.py
Median of a Row Wise Sorted Matrixhttps://leetcode.com/problems/median-of-a-row-wise-sorted-matrix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/median-of-a-row-wise-sorted-matrix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/median-of-a-row-wise-sorted-matrix.py
Longest Subsequence With Limited Sumhttps://leetcode.com/problems/longest-subsequence-with-limited-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-subsequence-with-limited-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-subsequence-with-limited-sum.py
Minimum Cost to Make Array Equalhttps://leetcode.com/problems/minimum-cost-to-make-array-equal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-to-make-array-equal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-to-make-array-equal.py
Closest Nodes Queries in a Binary Search Treehttps://leetcode.com/problems/closest-nodes-queries-in-a-binary-search-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/closest-nodes-queries-in-a-binary-search-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/closest-nodes-queries-in-a-binary-search-tree.py
Minimize the Maximum of Two Arrayshttps://leetcode.com/problems/minimize-the-maximum-of-two-arrays/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-the-maximum-of-two-arrays.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-the-maximum-of-two-arrays.py
Maximum Tastiness of Candy Baskethttps://leetcode.com/problems/maximum-tastiness-of-candy-basket/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-tastiness-of-candy-basket.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-tastiness-of-candy-basket.py
Maximize the Minimum Powered Cityhttps://leetcode.com/problems/maximize-the-minimum-powered-city/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-the-minimum-powered-city.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-the-minimum-powered-city.py
Maximum Count of Positive Integer and Negative Integerhttps://leetcode.com/problems/maximum-count-of-positive-integer-and-negative-integer/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-count-of-positive-integer-and-negative-integer.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-count-of-positive-integer-and-negative-integer.py
Maximum Number of Integers to Choose From a Range Ihttps://leetcode.com/problems/maximum-number-of-integers-to-choose-from-a-range-i/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-integers-to-choose-from-a-range-i.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-integers-to-choose-from-a-range-i.py
Maximum Number of Integers to Choose From a Range IIhttps://leetcode.com/problems/maximum-number-of-integers-to-choose-from-a-range-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-integers-to-choose-from-a-range-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-integers-to-choose-from-a-range-ii.py
House Robber IVhttps://leetcode.com/problems/house-robber-iv/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/house-robber-iv.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/house-robber-iv.py
Minimum Time to Repair Carshttps://leetcode.com/problems/minimum-time-to-repair-cars/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-repair-cars.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-repair-cars.py
Minimum Operations to Make All Array Elements Equalhttps://leetcode.com/problems/minimum-operations-to-make-all-array-elements-equal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-make-all-array-elements-equal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-make-all-array-elements-equal.py
Minimize the Maximum Difference of Pairshttps://leetcode.com/problems/minimize-the-maximum-difference-of-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-the-maximum-difference-of-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-the-maximum-difference-of-pairs.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#binary-search-tree
Number of Pairs Satisfying Inequalityhttps://leetcode.com/problems/number-of-pairs-satisfying-inequality/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-pairs-satisfying-inequality.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-pairs-satisfying-inequality.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#breadth-first-search
The Time When the Network Becomes Idlehttps://leetcode.com/problems/the-time-when-the-network-becomes-idle/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/the-time-when-the-network-becomes-idle.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/the-time-when-the-network-becomes-idle.py
Second Minimum Time to Reach Destinationhttps://leetcode.com/problems/second-minimum-time-to-reach-destination/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/second-minimum-time-to-reach-destination.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/second-minimum-time-to-reach-destination.py
Parallel Courses IIIhttps://leetcode.com/problems/parallel-courses-iii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/parallel-courses-iii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/parallel-courses-iii.py
Parallel Courseshttps://leetcode.com/problems/parallel-courses/
Minimum Operations to Convert Numberhttps://leetcode.com/problems/minimum-operations-to-convert-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-convert-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-convert-number.py
Find All Possible Recipes from Given Supplieshttps://leetcode.com/problems/find-all-possible-recipes-from-given-supplies/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-all-possible-recipes-from-given-supplies.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-all-possible-recipes-from-given-supplies.py
K Highest Ranked Items Within a Price Rangehttps://leetcode.com/problems/k-highest-ranked-items-within-a-price-range/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/k-highest-ranked-items-within-a-price-range.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/k-highest-ranked-items-within-a-price-range.py
Escape the Spreading Firehttps://leetcode.com/problems/escape-the-spreading-fire/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/escape-the-spreading-fire.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/escape-the-spreading-fire.py
Minimum Obstacle Removal to Reach Cornerhttps://leetcode.com/problems/minimum-obstacle-removal-to-reach-corner/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-obstacle-removal-to-reach-corner.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-obstacle-removal-to-reach-corner.py
Minimum Cost to Make at Least One Valid Path in a Gridhttps://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid/
Count Unreachable Pairs of Nodes in an Undirected Graphhttps://leetcode.com/problems/count-unreachable-pairs-of-nodes-in-an-undirected-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-unreachable-pairs-of-nodes-in-an-undirected-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-unreachable-pairs-of-nodes-in-an-undirected-graph.py
Reachable Nodes With Restrictionshttps://leetcode.com/problems/reachable-nodes-with-restrictions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/reachable-nodes-with-restrictions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/reachable-nodes-with-restrictions.py
Reverse Odd Levels of Binary Treehttps://leetcode.com/problems/reverse-odd-levels-of-binary-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/reverse-odd-levels-of-binary-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/reverse-odd-levels-of-binary-tree.py
Minimum Number of Operations to Sort a Binary Tree by Levelhttps://leetcode.com/problems/minimum-number-of-operations-to-sort-a-binary-tree-by-level/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-operations-to-sort-a-binary-tree-by-level.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-operations-to-sort-a-binary-tree-by-level.py
Minimum Score of a Path Between Two Citieshttps://leetcode.com/problems/minimum-score-of-a-path-between-two-cities/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-score-of-a-path-between-two-cities.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-score-of-a-path-between-two-cities.py
Divide Nodes Into the Maximum Number of Groupshttps://leetcode.com/problems/divide-nodes-into-the-maximum-number-of-groups/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/divide-nodes-into-the-maximum-number-of-groups.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/divide-nodes-into-the-maximum-number-of-groups.py
Is Graph Bipartite?https://leetcode.com/problems/is-graph-bipartite/
Maximum Number of Points From Grid Querieshttps://leetcode.com/problems/maximum-number-of-points-from-grid-queries/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-points-from-grid-queries.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-points-from-grid-queries.py
Minimum Time to Visit a Cell In a Gridhttps://leetcode.com/problems/minimum-time-to-visit-a-cell-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-visit-a-cell-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-visit-a-cell-in-a-grid.py
Kth Largest Sum in a Binary Treehttps://leetcode.com/problems/kth-largest-sum-in-a-binary-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/kth-largest-sum-in-a-binary-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/kth-largest-sum-in-a-binary-tree.py
Collect Coins in a Treehttps://leetcode.com/problems/collect-coins-in-a-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/collect-coins-in-a-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/collect-coins-in-a-tree.py
Minimum Reverse Operationshttps://leetcode.com/problems/minimum-reverse-operations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-reverse-operations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-reverse-operations.py
Minimum Number of Visited Cells in a Gridhttps://leetcode.com/problems/minimum-number-of-visited-cells-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-visited-cells-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-visited-cells-in-a-grid.py
Minimum Reverse Operationshttps://leetcode.com/problems/minimum-reverse-operations/
Cousins in Binary Tree IIhttps://leetcode.com/problems/cousins-in-binary-tree-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/cousins-in-binary-tree-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/cousins-in-binary-tree-ii.py
Maximum Number of Fish in a Gridhttps://leetcode.com/problems/maximum-number-of-fish-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-fish-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-fish-in-a-grid.py
Count the Number of Complete Componentshttps://leetcode.com/problems/count-the-number-of-complete-components/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-complete-components.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-complete-components.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#depth-first-search
Count Nodes With the Highest Scorehttps://leetcode.com/problems/count-nodes-with-the-highest-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-nodes-with-the-highest-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-nodes-with-the-highest-score.py
Maximum Path Quality of a Graphhttps://leetcode.com/problems/maximum-path-quality-of-a-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-path-quality-of-a-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-path-quality-of-a-graph.py
All Ancestors of a Node in a Directed Acyclic Graphhttps://leetcode.com/problems/all-ancestors-of-a-node-in-a-directed-acyclic-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/all-ancestors-of-a-node-in-a-directed-acyclic-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/all-ancestors-of-a-node-in-a-directed-acyclic-graph.py
Longest Path With Different Adjacent Charactershttps://leetcode.com/problems/longest-path-with-different-adjacent-characters/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-path-with-different-adjacent-characters.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-path-with-different-adjacent-characters.py
Count Nodes Equal to Average of Subtreehttps://leetcode.com/problems/count-nodes-equal-to-average-of-subtree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-nodes-equal-to-average-of-subtree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-nodes-equal-to-average-of-subtree.py
Minimum Score After Removals on a Treehttps://leetcode.com/problems/minimum-score-after-removals-on-a-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-score-after-removals-on-a-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-score-after-removals-on-a-tree.py
Evaluate Boolean Binary Treehttps://leetcode.com/problems/evaluate-boolean-binary-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/evaluate-boolean-binary-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/evaluate-boolean-binary-tree.py
Amount of Time for Binary Tree to Be Infectedhttps://leetcode.com/problems/amount-of-time-for-binary-tree-to-be-infected/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/amount-of-time-for-binary-tree-to-be-infected.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/amount-of-time-for-binary-tree-to-be-infected.py
Number of Nodes With Value Onehttps://leetcode.com/problems/number-of-nodes-with-value-one/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-nodes-with-value-one.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-nodes-with-value-one.py
Height of Binary Tree After Subtree Removal Querieshttps://leetcode.com/problems/height-of-binary-tree-after-subtree-removal-queries/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/height-of-binary-tree-after-subtree-removal-queries.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/height-of-binary-tree-after-subtree-removal-queries.py
Most Profitable Path in a Treehttps://leetcode.com/problems/most-profitable-path-in-a-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/most-profitable-path-in-a-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/most-profitable-path-in-a-tree.py
Minimum Fuel Cost to Report to the Capitalhttps://leetcode.com/problems/minimum-fuel-cost-to-report-to-the-capital/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-fuel-cost-to-report-to-the-capital.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-fuel-cost-to-report-to-the-capital.py
Count Number of Possible Root Nodeshttps://leetcode.com/problems/count-number-of-possible-root-nodes/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-possible-root-nodes.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-possible-root-nodes.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#backtracking
Longest Subsequence Repeated k Timeshttps://leetcode.com/problems/longest-subsequence-repeated-k-times/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-subsequence-repeated-k-times.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-subsequence-repeated-k-times.py
Number of Valid Move Combinations On Chessboardhttps://leetcode.com/problems/number-of-valid-move-combinations-on-chessboard/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-valid-move-combinations-on-chessboard.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-valid-move-combinations-on-chessboard.py
Finding 3-Digit Even Numbershttps://leetcode.com/problems/finding-3-digit-even-numbers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/finding-3-digit-even-numbers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/finding-3-digit-even-numbers.py
Sum of Number and Its Reversehttps://leetcode.com/problems/sum-of-number-and-its-reverse/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sum-of-number-and-its-reverse.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sum-of-number-and-its-reverse.py
The Knight’s Tourhttps://leetcode.com/problems/the-knights-tour/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/the-knights-tour.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/the-knights-tour.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#dynamic-programming
Maximum Product of the Length of Two Palindromic Subsequenceshttps://leetcode.com/problems/maximum-product-of-the-length-of-two-palindromic-subsequences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-product-of-the-length-of-two-palindromic-subsequences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-product-of-the-length-of-two-palindromic-subsequences.py
Maximum Earnings From Taxihttps://leetcode.com/problems/maximum-earnings-from-taxi/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-earnings-from-taxi.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-earnings-from-taxi.py
The Score of Students Solving Math Expressionhttps://leetcode.com/problems/the-score-of-students-solving-math-expression/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/the-score-of-students-solving-math-expression.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/the-score-of-students-solving-math-expression.py
Burst Balloonshttps://leetcode.com/problems/burst-balloons/
Count Subarrays With More Ones Than Zeroshttps://leetcode.com/problems/count-subarrays-with-more-ones-than-zeros/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-subarrays-with-more-ones-than-zeros.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-subarrays-with-more-ones-than-zeros.py
Count Number of Maximum Bitwise-OR Subsetshttps://leetcode.com/problems/count-number-of-maximum-bitwise-or-subsets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-maximum-bitwise-or-subsets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-maximum-bitwise-or-subsets.py
Minimum Cost to Separate Sentence Into Rowshttps://leetcode.com/problems/minimum-cost-to-separate-sentence-into-rows/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-to-separate-sentence-into-rows.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-to-separate-sentence-into-rows.py
Check if an Original String Exists Given Two Encoded Stringshttps://leetcode.com/problems/check-if-an-original-string-exists-given-two-encoded-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-an-original-string-exists-given-two-encoded-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-an-original-string-exists-given-two-encoded-strings.py
Count Fertile Pyramids in a Landhttps://leetcode.com/problems/count-fertile-pyramids-in-a-land/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-fertile-pyramids-in-a-land.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-fertile-pyramids-in-a-land.py
Solving Questions With Brainpowerhttps://leetcode.com/problems/solving-questions-with-brainpower/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/solving-questions-with-brainpower.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/solving-questions-with-brainpower.py
Choose Numbers From Two Arrays in Rangehttps://leetcode.com/problems/choose-numbers-from-two-arrays-in-range/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/choose-numbers-from-two-arrays-in-range.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/choose-numbers-from-two-arrays-in-range.py
Minimum Time to Remove All Cars Containing Illegal Goodshttps://leetcode.com/problems/minimum-time-to-remove-all-cars-containing-illegal-goods/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-remove-all-cars-containing-illegal-goods.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-remove-all-cars-containing-illegal-goods.py
Remove All Ones With Row and Column Flips IIhttps://leetcode.com/problems/remove-all-ones-with-row-and-column-flips-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/remove-all-ones-with-row-and-column-flips-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/remove-all-ones-with-row-and-column-flips-ii.py
Number of Ways to Build Sturdy Brick Wallhttps://leetcode.com/problems/number-of-ways-to-build-sturdy-brick-wall/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-build-sturdy-brick-wall.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-build-sturdy-brick-wall.py
Painting a Grid With Three Different Colorshttps://leetcode.com/problems/painting-a-grid-with-three-different-colors/
Minimum Time to Finish the Racehttps://leetcode.com/problems/minimum-time-to-finish-the-race/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-finish-the-race.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-finish-the-race.py
Number of Ways to Build House of Cardshttps://leetcode.com/problems/number-of-ways-to-build-house-of-cards/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-build-house-of-cards.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-build-house-of-cards.py
Minimum White Tiles After Covering With Carpetshttps://leetcode.com/problems/minimum-white-tiles-after-covering-with-carpets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-white-tiles-after-covering-with-carpets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-white-tiles-after-covering-with-carpets.py
Maximum Value of K Coins From Pileshttps://leetcode.com/problems/maximum-value-of-k-coins-from-piles/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-value-of-k-coins-from-piles.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-value-of-k-coins-from-piles.py
Number of Ways to Select Buildingshttps://leetcode.com/problems/number-of-ways-to-select-buildings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-select-buildings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-select-buildings.py
Maximum Cost of Trip With K Highwayshttps://leetcode.com/problems/maximum-cost-of-trip-with-k-highways/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-cost-of-trip-with-k-highways.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-cost-of-trip-with-k-highways.py
Count Number of Textshttps://leetcode.com/problems/count-number-of-texts/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-texts.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-texts.py
Check if There Is a Valid Parentheses String Pathhttps://leetcode.com/problems/check-if-there-is-a-valid-parentheses-string-path/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-there-is-a-valid-parentheses-string-path.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-there-is-a-valid-parentheses-string-path.py
Codeforces Round #801 Chttps://codeforces.com/contest/1695/problem/C
Steps to Make Array Non-decreasinghttps://leetcode.com/problems/steps-to-make-array-non-decreasing/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/steps-to-make-array-non-decreasing.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/steps-to-make-array-non-decreasing.py
Maximum Profit From Trading Stockshttps://leetcode.com/problems/maximum-profit-from-trading-stocks/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-profit-from-trading-stocks.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-profit-from-trading-stocks.py
Jump Game IXhttps://leetcode.com/problems/jump-game-ix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/jump-game-ix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/jump-game-ix.py
Minimum Path Cost in a Gridhttps://leetcode.com/problems/minimum-path-cost-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-path-cost-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-path-cost-in-a-grid.py
Fair Distribution of Cookieshttps://leetcode.com/problems/fair-distribution-of-cookies/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/fair-distribution-of-cookies.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/fair-distribution-of-cookies.py
Selling Pieces of Woodhttps://leetcode.com/problems/selling-pieces-of-wood/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/selling-pieces-of-wood.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/selling-pieces-of-wood.py
Minimum Flips in Binary Tree to Get Resulthttps://leetcode.com/problems/minimum-flips-in-binary-tree-to-get-result/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-flips-in-binary-tree-to-get-result.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-flips-in-binary-tree-to-get-result.py
Number of Distinct Roll Sequenceshttps://leetcode.com/problems/number-of-distinct-roll-sequences/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-distinct-roll-sequences.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-distinct-roll-sequences.py
Count Number of Ways to Place Houseshttps://leetcode.com/problems/count-number-of-ways-to-place-houses/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-number-of-ways-to-place-houses.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-number-of-ways-to-place-houses.py
Fibonacci Numberhttps://leetcode.com/problems/fibonacci-number/
Number of People Aware of a Secrethttps://leetcode.com/problems/number-of-people-aware-of-a-secret/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-people-aware-of-a-secret.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-people-aware-of-a-secret.py
Number of Increasing Paths in a Gridhttps://leetcode.com/problems/number-of-increasing-paths-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-increasing-paths-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-increasing-paths-in-a-grid.py
Minimum Costs Using the Train Linehttps://leetcode.com/problems/minimum-costs-using-the-train-line/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-costs-using-the-train-line.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-costs-using-the-train-line.py
Check if There is a Valid Partition For The Arrayhttps://leetcode.com/problems/check-if-there-is-a-valid-partition-for-the-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-there-is-a-valid-partition-for-the-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-there-is-a-valid-partition-for-the-array.py
Longest Ideal Subsequencehttps://leetcode.com/problems/longest-ideal-subsequence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-ideal-subsequence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-ideal-subsequence.py
Choose Edges to Maximize Score in a Treehttps://leetcode.com/problems/choose-edges-to-maximize-score-in-a-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/choose-edges-to-maximize-score-in-a-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/choose-edges-to-maximize-score-in-a-tree.py
Time Needed to Rearrange a Binary Stringhttps://leetcode.com/problems/time-needed-to-rearrange-a-binary-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/time-needed-to-rearrange-a-binary-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/time-needed-to-rearrange-a-binary-string.py
Minimum Time to Kill All Monstershttps://leetcode.com/problems/minimum-time-to-kill-all-monsters/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-kill-all-monsters.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-kill-all-monsters.py
Find All Good Indiceshttps://leetcode.com/problems/find-all-good-indices/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-all-good-indices.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-all-good-indices.py
Maximum Deletions on a Stringhttps://leetcode.com/problems/maximum-deletions-on-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-deletions-on-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-deletions-on-a-string.py
Maximize Total Tastiness of Purchased Fruitshttps://leetcode.com/problems/maximize-total-tastiness-of-purchased-fruits/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-total-tastiness-of-purchased-fruits.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-total-tastiness-of-purchased-fruits.py
Paths in Matrix Whose Sum Is Divisible by Khttps://leetcode.com/problems/paths-in-matrix-whose-sum-is-divisible-by-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/paths-in-matrix-whose-sum-is-divisible-by-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/paths-in-matrix-whose-sum-is-divisible-by-k.py
Number of Subarrays With GCD Equal to Khttps://leetcode.com/problems/number-of-subarrays-with-gcd-equal-to-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-subarrays-with-gcd-equal-to-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-subarrays-with-gcd-equal-to-k.py
Minimum Total Distance Traveledhttps://leetcode.com/problems/minimum-total-distance-traveled/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-total-distance-traveled.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-total-distance-traveled.py
Minimum Subarrays in a Valid Splithttps://leetcode.com/problems/minimum-subarrays-in-a-valid-split/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-subarrays-in-a-valid-split.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-subarrays-in-a-valid-split.py
Count Ways To Build Good Stringshttps://leetcode.com/problems/count-ways-to-build-good-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-ways-to-build-good-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-ways-to-build-good-strings.py
Number of Subarrays With LCM Equal to Khttps://leetcode.com/problems/number-of-subarrays-with-lcm-equal-to-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-subarrays-with-lcm-equal-to-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-subarrays-with-lcm-equal-to-k.py
Number of Subarrays With GCD Equal to Khttps://leetcode.com/problems/number-of-subarrays-with-gcd-equal-to-k/
Number of Subarrays With LCM Equal to Khttps://leetcode.com/problems/number-of-subarrays-with-lcm-equal-to-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-subarrays-with-lcm-equal-to-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-subarrays-with-lcm-equal-to-k.py
Number of Subarrays With GCD Equal to Khttps://leetcode.com/problems/number-of-subarrays-with-gcd-equal-to-k/
Number of Unequal Triplets in Arrayhttps://leetcode.com/problems/number-of-unequal-triplets-in-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-unequal-triplets-in-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-unequal-triplets-in-array.py
Number of Beautiful Partitionshttps://leetcode.com/problems/number-of-beautiful-partitions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-beautiful-partitions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-beautiful-partitions.py
Number of Subarrays Having Even Producthttps://leetcode.com/problems/number-of-subarrays-having-even-product/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-subarrays-having-even-product.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-subarrays-having-even-product.py
Check if There is a Path With Equal Number of 0's And 1'shttps://leetcode.com/problems/check-if-there-is-a-path-with-equal-number-of-0s-and-1s/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-if-there-is-a-path-with-equal-number-of-0s-and-1s.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-if-there-is-a-path-with-equal-number-of-0s-and-1s.py
Number of Great Partitionshttps://leetcode.com/problems/number-of-great-partitions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-great-partitions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-great-partitions.py
Number of Good Binary Stringshttps://leetcode.com/problems/number-of-good-binary-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-good-binary-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-good-binary-strings.py
Difference Between Maximum and Minimum Price Sumhttps://leetcode.com/problems/difference-between-maximum-and-minimum-price-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/difference-between-maximum-and-minimum-price-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/difference-between-maximum-and-minimum-price-sum.py
Minimum Cost to Split an Arrayhttps://leetcode.com/problems/minimum-cost-to-split-an-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-to-split-an-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-to-split-an-array.py
Count Increasing Quadrupletshttps://leetcode.com/problems/count-increasing-quadruplets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-increasing-quadruplets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-increasing-quadruplets.py
132 Patternhttps://leetcode.com/problems/132-pattern/
Disconnect Path in a Binary Matrix by at Most One Fliphttps://leetcode.com/problems/disconnect-path-in-a-binary-matrix-by-at-most-one-flip/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/disconnect-path-in-a-binary-matrix-by-at-most-one-flip.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/disconnect-path-in-a-binary-matrix-by-at-most-one-flip.py
Subsequence With the Minimum Scorehttps://leetcode.com/problems/subsequence-with-the-minimum-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/subsequence-with-the-minimum-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/subsequence-with-the-minimum-score.py
Count the Number of Square-Free Subsetshttps://leetcode.com/problems/count-the-number-of-square-free-subsets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-square-free-subsets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-square-free-subsets.py
Number of Ways to Earn Pointshttps://leetcode.com/problems/number-of-ways-to-earn-points/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-earn-points.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-earn-points.py
The Number of Beautiful Subsetshttps://leetcode.com/problems/the-number-of-beautiful-subsets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/the-number-of-beautiful-subsets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/the-number-of-beautiful-subsets.py
Count the Number of K-Free Subsetshttps://leetcode.com/problems/count-the-number-of-k-free-subsets/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-the-number-of-k-free-subsets.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-the-number-of-k-free-subsets.py
The Number of Beautiful Subsetshttps://leetcode.com/problems/the-number-of-beautiful-subsets/
Minimize the Total Price of the Tripshttps://leetcode.com/problems/minimize-the-total-price-of-the-trips/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-the-total-price-of-the-trips.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-the-total-price-of-the-trips.py
Power of Heroeshttps://leetcode.com/problems/power-of-heroes/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/power-of-heroes.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/power-of-heroes.py
Maximum Number of Moves in a Gridhttps://leetcode.com/problems/maximum-number-of-moves-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-moves-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-moves-in-a-grid.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#greedy
Minimum Moves to Convert Stringhttps://leetcode.com/problems/minimum-moves-to-convert-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-moves-to-convert-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-moves-to-convert-string.py
Smallest K-Length Subsequence With Occurrences of a Letterhttps://leetcode.com/problems/smallest-k-length-subsequence-with-occurrences-of-a-letter/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-k-length-subsequence-with-occurrences-of-a-letter.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-k-length-subsequence-with-occurrences-of-a-letter.py
Maximum Alternating Subarray Sumhttps://leetcode.com/problems/maximum-alternating-subarray-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-alternating-subarray-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-alternating-subarray-sum.py
Maximum Alternating Subsequence Sumhttps://leetcode.com/problems/maximum-alternating-subsequence-sum/
Minimum Number of Moves to Seat Everyonehttps://leetcode.com/problems/minimum-number-of-moves-to-seat-everyone/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-moves-to-seat-everyone.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-moves-to-seat-everyone.py
Maximum Number of Tasks You Can Assignhttps://leetcode.com/problems/maximum-number-of-tasks-you-can-assign/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-tasks-you-can-assign.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-tasks-you-can-assign.py
Minimum Number of Buckets Required to Collect Rainwater from Houseshttps://leetcode.com/problems/minimum-number-of-buckets-required-to-collect-rainwater-from-houses/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-buckets-required-to-collect-rainwater-from-houses.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-buckets-required-to-collect-rainwater-from-houses.py
Minimum Cost Homecoming of a Robot in a Gridhttps://leetcode.com/problems/minimum-cost-homecoming-of-a-robot-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-homecoming-of-a-robot-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-homecoming-of-a-robot-in-a-grid.py
Destroying Asteroidshttps://leetcode.com/problems/destroying-asteroids/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/destroying-asteroids.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/destroying-asteroids.py
Earliest Possible Day of Full Bloomhttps://leetcode.com/problems/earliest-possible-day-of-full-bloom/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/earliest-possible-day-of-full-bloom.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/earliest-possible-day-of-full-bloom.py
Minimum Moves to Reach Target Scorehttps://leetcode.com/problems/minimum-moves-to-reach-target-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-moves-to-reach-target-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-moves-to-reach-target-score.py
Maximum Running Time of N Computershttps://leetcode.com/problems/maximum-running-time-of-n-computers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-running-time-of-n-computers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-running-time-of-n-computers.py
Minimum Cost of Buying Candies With Discounthttps://leetcode.com/problems/minimum-cost-of-buying-candies-with-discount/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-of-buying-candies-with-discount.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-of-buying-candies-with-discount.py
Number of Ways to Divide a Long Corridorhttps://leetcode.com/problems/number-of-ways-to-divide-a-long-corridor/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-ways-to-divide-a-long-corridor.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-ways-to-divide-a-long-corridor.py
Minimum Sum of Four Digit Number After Splitting Digitshttps://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-sum-of-four-digit-number-after-splitting-digits.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-sum-of-four-digit-number-after-splitting-digits.py
Smallest Value of the Rearranged Numberhttps://leetcode.com/problems/smallest-value-of-the-rearranged-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-value-of-the-rearranged-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-value-of-the-rearranged-number.py
Maximum Split of Positive Even Integershttps://leetcode.com/problems/maximum-split-of-positive-even-integers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-split-of-positive-even-integers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-split-of-positive-even-integers.py
Construct String With Repeat Limithttps://leetcode.com/problems/construct-string-with-repeat-limit/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/construct-string-with-repeat-limit.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/construct-string-with-repeat-limit.py
Minimum Number of Moves to Make Palindromehttps://leetcode.com/problems/minimum-number-of-moves-to-make-palindrome/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-moves-to-make-palindrome.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-moves-to-make-palindrome.py
Append K Integers With Minimal Sumhttps://leetcode.com/problems/append-k-integers-with-minimal-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/append-k-integers-with-minimal-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/append-k-integers-with-minimal-sum.py
Maximize Number of Subsequences in a Stringhttps://leetcode.com/problems/maximize-number-of-subsequences-in-a-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-number-of-subsequences-in-a-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-number-of-subsequences-in-a-string.py
Minimum Health to Beat Gamehttps://leetcode.com/problems/minimum-health-to-beat-game/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-health-to-beat-game.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-health-to-beat-game.py
Minimum Deletions to Make Array Beautifulhttps://leetcode.com/problems/minimum-deletions-to-make-array-beautiful/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-deletions-to-make-array-beautiful.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-deletions-to-make-array-beautiful.py
Minimum Number of Operations to Convert Timehttps://leetcode.com/problems/minimum-number-of-operations-to-convert-time/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-operations-to-convert-time.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-operations-to-convert-time.py
Remove Digit From Number to Maximize Resulthttps://leetcode.com/problems/remove-digit-from-number-to-maximize-result/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/remove-digit-from-number-to-maximize-result.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/remove-digit-from-number-to-maximize-result.py
Make Array Non-decreasing or Non-increasinghttps://leetcode.com/problems/make-array-non-decreasing-or-non-increasing/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-array-non-decreasing-or-non-increasing.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-array-non-decreasing-or-non-increasing.py
Minimum Number of Keypresseshttps://leetcode.com/problems/minimum-number-of-keypresses/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-keypresses.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-keypresses.py
Maximum Bags With Full Capacity of Rockshttps://leetcode.com/problems/maximum-bags-with-full-capacity-of-rocks/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-bags-with-full-capacity-of-rocks.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-bags-with-full-capacity-of-rocks.py
Maximum Total Importance of Roadshttps://leetcode.com/problems/maximum-total-importance-of-roads/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-total-importance-of-roads.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-total-importance-of-roads.py
Partition Array Such That Maximum Difference Is Khttps://leetcode.com/problems/partition-array-such-that-maximum-difference-is-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/partition-array-such-that-maximum-difference-is-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/partition-array-such-that-maximum-difference-is-k.py
Longest Binary Subsequence Less Than or Equal to Khttps://leetcode.com/problems/longest-binary-subsequence-less-than-or-equal-to-k/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-binary-subsequence-less-than-or-equal-to-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-binary-subsequence-less-than-or-equal-to-k.py
Maximum Score Of Spliced Arrayhttps://leetcode.com/problems/maximum-score-of-spliced-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-score-of-spliced-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-score-of-spliced-array.py
Find Minimum Time to Finish All Jobs IIhttps://leetcode.com/problems/find-minimum-time-to-finish-all-jobs-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-minimum-time-to-finish-all-jobs-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-minimum-time-to-finish-all-jobs-ii.py
Minimum Adjacent Swaps to Make a Valid Arrayhttps://leetcode.com/problems/minimum-adjacent-swaps-to-make-a-valid-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-adjacent-swaps-to-make-a-valid-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-adjacent-swaps-to-make-a-valid-array.py
Minimum Replacements to Sort the Arrayhttps://leetcode.com/problems/minimum-replacements-to-sort-the-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-replacements-to-sort-the-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-replacements-to-sort-the-array.py
Minimize Maximum Value in a Gridhttps://leetcode.com/problems/minimize-maximum-value-in-a-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-maximum-value-in-a-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-maximum-value-in-a-grid.py
Construct Smallest Number From DI Stringhttps://leetcode.com/problems/construct-smallest-number-from-di-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/construct-smallest-number-from-di-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/construct-smallest-number-from-di-string.py
Minimum Hours of Training to Win a Competitionhttps://leetcode.com/problems/minimum-hours-of-training-to-win-a-competition/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-hours-of-training-to-win-a-competition.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-hours-of-training-to-win-a-competition.py
Largest Palindromic Numberhttps://leetcode.com/problems/largest-palindromic-number/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/largest-palindromic-number.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/largest-palindromic-number.py
Optimal Partition of Stringhttps://leetcode.com/problems/optimal-partition-of-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/optimal-partition-of-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/optimal-partition-of-string.py
Maximum Matching of Players With Trainershttps://leetcode.com/problems/maximum-matching-of-players-with-trainers/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-matching-of-players-with-trainers.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-matching-of-players-with-trainers.py
Minimum Money Required Before Transactionshttps://leetcode.com/problems/minimum-money-required-before-transactions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-money-required-before-transactions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-money-required-before-transactions.py
Closest Fair Integerhttps://leetcode.com/problems/closest-fair-integer/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/closest-fair-integer.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/closest-fair-integer.py
Merge Operations to Turn Array Into a Palindromehttps://leetcode.com/problems/merge-operations-to-turn-array-into-a-palindrome/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/merge-operations-to-turn-array-into-a-palindrome.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/merge-operations-to-turn-array-into-a-palindrome.py
Using a Robot to Print the Lexicographically Smallest Stringhttps://leetcode.com/problems/using-a-robot-to-print-the-lexicographically-smallest-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/using-a-robot-to-print-the-lexicographically-smallest-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/using-a-robot-to-print-the-lexicographically-smallest-string.py
Minimum Split Into Subarrays With GCD Greater Than Onehttps://leetcode.com/problems/minimum-split-into-subarrays-with-gcd-greater-than-one/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-split-into-subarrays-with-gcd-greater-than-one.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-split-into-subarrays-with-gcd-greater-than-one.py
Minimize Maximum of Arrayhttps://leetcode.com/problems/minimize-maximum-of-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimize-maximum-of-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimize-maximum-of-array.py
Create Components With Same Valuehttps://leetcode.com/problems/create-components-with-same-value/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/create-components-with-same-value.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/create-components-with-same-value.py
Minimum Number of Operations to Make Arrays Similarhttps://leetcode.com/problems/minimum-number-of-operations-to-make-arrays-similar/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-operations-to-make-arrays-similar.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-operations-to-make-arrays-similar.py
Minimum Addition to Make Integer Beautifulhttps://leetcode.com/problems/minimum-addition-to-make-integer-beautiful/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-addition-to-make-integer-beautiful.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-addition-to-make-integer-beautiful.py
Sort Array by Moving Items to Empty Spacehttps://leetcode.com/problems/sort-array-by-moving-items-to-empty-space/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sort-array-by-moving-items-to-empty-space.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sort-array-by-moving-items-to-empty-space.py
Maximum Number of Non-overlapping Palindrome Substringshttps://leetcode.com/problems/maximum-number-of-non-overlapping-palindrome-substrings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-non-overlapping-palindrome-substrings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-non-overlapping-palindrome-substrings.py
Maximum XOR of Two Non-Overlapping Subtreeshttps://leetcode.com/problems/maximum-xor-of-two-non-overlapping-subtrees/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-xor-of-two-non-overlapping-subtrees.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-xor-of-two-non-overlapping-subtrees.py
Maximum XOR of Two Numbers in an Arrayhttps://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/
Minimum Penalty for a Shophttps://leetcode.com/problems/minimum-penalty-for-a-shop/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-penalty-for-a-shop.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-penalty-for-a-shop.py
Append Characters to String to Make Subsequencehttps://leetcode.com/problems/append-characters-to-string-to-make-subsequence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/append-characters-to-string-to-make-subsequence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/append-characters-to-string-to-make-subsequence.py
Frog Jump IIhttps://leetcode.com/problems/frog-jump-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/frog-jump-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/frog-jump-ii.py
Minimum Total Cost to Make Arrays Unequalhttps://leetcode.com/problems/minimum-total-cost-to-make-arrays-unequal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-total-cost-to-make-arrays-unequal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-total-cost-to-make-arrays-unequal.py
Partition String Into Substrings With Values at Most Khttps://leetcode.com/problems/minimum-total-cost-to-make-arrays-unequal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/partition-string-into-substrings-with-values-at-most-k.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/partition-string-into-substrings-with-values-at-most-k.py
Minimum Operations to Make Array Equal IIhttps://leetcode.com/problems/minimum-operations-to-make-array-equal-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-make-array-equal-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-make-array-equal-ii.py
Maximum Subsequence Scorehttps://leetcode.com/problems/maximum-subsequence-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-subsequence-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-subsequence-score.py
Maximum Performance of a Teamhttps://leetcode.com/problems/maximum-performance-of-a-team/
Maximum Price to Fill a Baghttps://leetcode.com/problems/maximum-price-to-fill-a-bag/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-price-to-fill-a-bag.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-price-to-fill-a-bag.py
Put Marbles in Bagshttps://leetcode.com/problems/put-marbles-in-bags/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/put-marbles-in-bags.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/put-marbles-in-bags.py
Rearranging Fruitshttps://leetcode.com/problems/rearranging-fruits/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/rearranging-fruits.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/rearranging-fruits.py
Maximum Difference by Remapping a Digithttps://leetcode.com/problems/maximum-difference-by-remapping-a-digit/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-difference-by-remapping-a-digit.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-difference-by-remapping-a-digit.py
Minimum Score by Changing Two Elementshttps://leetcode.com/problems/minimum-score-by-changing-two-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-score-by-changing-two-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-score-by-changing-two-elements.py
Minimum Operations to Reduce an Integer to 0https://leetcode.com/problems/minimum-operations-to-reduce-an-integer-to-0/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-reduce-an-integer-to-0.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-reduce-an-integer-to-0.py
Find the String with LCPhttps://leetcode.com/problems/find-the-string-with-lcp/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-string-with-lcp.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-string-with-lcp.py
Find the Maximum Number of Marked Indiceshttps://leetcode.com/problems/find-the-maximum-number-of-marked-indices/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-maximum-number-of-marked-indices.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-maximum-number-of-marked-indices.py
Split With Minimum Sumhttps://leetcode.com/problems/split-with-minimum-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/split-with-minimum-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/split-with-minimum-sum.py
Rearrange Array to Maximize Prefix Scorehttps://leetcode.com/problems/rearrange-array-to-maximize-prefix-score/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/rearrange-array-to-maximize-prefix-score.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/rearrange-array-to-maximize-prefix-score.py
Minimum Time to Complete All Taskshttps://leetcode.com/problems/minimum-time-to-complete-all-tasks/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-complete-all-tasks.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-complete-all-tasks.py
Distribute Money to Maximum Childrenhttps://leetcode.com/problems/distribute-money-to-maximum-children/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/distribute-money-to-maximum-children.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/distribute-money-to-maximum-children.py
Make the Prefix Sum Non-negativehttps://leetcode.com/problems/make-the-prefix-sum-non-negative/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-the-prefix-sum-non-negative.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-the-prefix-sum-non-negative.py
K Items With the Maximum Sumhttps://leetcode.com/problems/k-items-with-the-maximum-sum/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/k-items-with-the-maximum-sum.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/k-items-with-the-maximum-sum.py
Prime Subtraction Operationhttps://leetcode.com/problems/prime-subtraction-operation/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/prime-subtraction-operation.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/prime-subtraction-operation.py
Minimum Time to Eat All Grainshttps://leetcode.com/problems/minimum-time-to-eat-all-grains/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-time-to-eat-all-grains.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-time-to-eat-all-grains.py
Find the Substring With Maximum Costhttps://leetcode.com/problems/find-the-substring-with-maximum-cost/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-substring-with-maximum-cost.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-substring-with-maximum-cost.py
Make K-Subarray Sums Equalhttps://leetcode.com/problems/make-k-subarray-sums-equal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-k-subarray-sums-equal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-k-subarray-sums-equal.py
Mice and Cheesehttps://leetcode.com/problems/mice-and-cheese/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/mice-and-cheese.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/mice-and-cheese.py
Minimum Additions to Make Valid Stringhttps://leetcode.com/problems/minimum-additions-to-make-valid-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-additions-to-make-valid-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-additions-to-make-valid-string.py
Lexicographically Smallest Beautiful Stringhttps://leetcode.com/problems/lexicographically-smallest-beautiful-string/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/lexicographically-smallest-beautiful-string.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/lexicographically-smallest-beautiful-string.py
Make Costs of Paths Equal in a Binary Treehttps://leetcode.com/problems/make-costs-of-paths-equal-in-a-binary-tree/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/make-costs-of-paths-equal-in-a-binary-tree.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/make-costs-of-paths-equal-in-a-binary-tree.py
Maximum ORhttps://leetcode.com/problems/maximum-or/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-or.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-or.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#graph
Process Restricted Friend Requestshttps://leetcode.com/problems/process-restricted-friend-requests/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/process-restricted-friend-requests.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/process-restricted-friend-requests.py
Paths in Maze That Lead to Same Roomhttps://leetcode.com/problems/paths-in-maze-that-lead-to-same-room/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/paths-in-maze-that-lead-to-same-room.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/paths-in-maze-that-lead-to-same-room.py
Find All People With Secrethttps://leetcode.com/problems/find-all-people-with-secret/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-all-people-with-secret.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-all-people-with-secret.py
Minimum Path Cost in a Hidden Gridhttps://leetcode.com/problems/minimum-cost-to-reach-city-with-discounts/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-to-reach-city-with-discounts.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-to-reach-city-with-discounts.py
Cheapest Flights Within K Stopshttps://leetcode.com/problems/cheapest-flights-within-k-stops/
Valid Arrangement of Pairshttps://leetcode.com/problems/valid-arrangement-of-pairs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/valid-arrangement-of-pairs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/valid-arrangement-of-pairs.py
Reconstruct Itineraryhttps://leetcode.com/problems/reconstruct-itinerary/
Minimum Operations to Remove Adjacent Ones in Matrixhttps://leetcode.com/problems/minimum-operations-to-remove-adjacent-ones-in-matrix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-operations-to-remove-adjacent-ones-in-matrix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-operations-to-remove-adjacent-ones-in-matrix.py
Maximum Students Taking Examhttps://leetcode.com/problems/maximum-students-taking-exam/
Maximum Employees to Be Invited to a Meetinghttps://leetcode.com/problems/maximum-employees-to-be-invited-to-a-meeting/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-employees-to-be-invited-to-a-meeting.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-employees-to-be-invited-to-a-meeting.py
Maximum AND Sum of Arrayhttps://leetcode.com/problems/maximum-and-sum-of-array/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-and-sum-of-array.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-and-sum-of-array.py
Maximum Compatibility Score Sumhttps://leetcode.com/problems/maximum-compatibility-score-sum/
Minimum Weighted Subgraph With the Required Pathshttps://leetcode.com/problems/minimum-weighted-subgraph-with-the-required-paths/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-weighted-subgraph-with-the-required-paths.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-weighted-subgraph-with-the-required-paths.py
Distance to a Cycle in Undirected Graphhttps://leetcode.com/problems/distance-to-a-cycle-in-undirected-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/distance-to-a-cycle-in-undirected-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/distance-to-a-cycle-in-undirected-graph.py
Maximum Score of a Node Sequencehttps://leetcode.com/problems/maximum-score-of-a-node-sequence/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-score-of-a-node-sequence.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-score-of-a-node-sequence.py
Check for Contradictions in Equationshttps://leetcode.com/problems/check-for-contradictions-in-equations/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-for-contradictions-in-equations.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-for-contradictions-in-equations.py
Evaluate Divisionhttps://leetcode.com/problems/evaluate-division/
Find Closest Node to Given Two Nodeshttps://leetcode.com/problems/find-closest-node-to-given-two-nodes/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-closest-node-to-given-two-nodes.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-closest-node-to-given-two-nodes.py
Longest Cycle in a Graphhttps://leetcode.com/problems/longest-cycle-in-a-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-cycle-in-a-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-cycle-in-a-graph.py
Build a Matrix With Conditionshttps://leetcode.com/problems/build-a-matrix-with-conditions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/build-a-matrix-with-conditions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/build-a-matrix-with-conditions.py
Minimum Cost to Buy Appleshttps://leetcode.com/problems/minimum-cost-to-buy-apples/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-to-buy-apples.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-to-buy-apples.py
Add Edges to Make Degrees of All Nodes Evenhttps://leetcode.com/problems/add-edges-to-make-degrees-of-all-nodes-even/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/add-edges-to-make-degrees-of-all-nodes-even.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/add-edges-to-make-degrees-of-all-nodes-even.py
Shortest Cycle in a Graphhttps://leetcode.com/problems/shortest-cycle-in-a-graph/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/shortest-cycle-in-a-graph.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/shortest-cycle-in-a-graph.py
Minimum Cost of a Path With Special Roadshttps://leetcode.com/problems/minimum-cost-of-a-path-with-special-roads/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-of-a-path-with-special-roads.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-of-a-path-with-special-roads.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#geometry
Detonate the Maximum Bombshttps://leetcode.com/problems/detonate-the-maximum-bombs/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/detonate-the-maximum-bombs.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/detonate-the-maximum-bombs.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#simulation
Number of Spaces Cleaning Robot Cleanedhttps://leetcode.com/problems/number-of-spaces-cleaning-robot-cleaned/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/number-of-spaces-cleaning-robot-cleaned.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/number-of-spaces-cleaning-robot-cleaned.py
Minimum Cost to Set Cooking Timehttps://leetcode.com/problems/minimum-cost-to-set-cooking-time/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-cost-to-set-cooking-time.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-cost-to-set-cooking-time.py
Count Unguarded Cells in the Gridhttps://leetcode.com/problems/count-unguarded-cells-in-the-grid/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-unguarded-cells-in-the-grid.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-unguarded-cells-in-the-grid.py
Calculate Amount Paid in Taxeshttps://leetcode.com/problems/calculate-amount-paid-in-taxes/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/calculate-amount-paid-in-taxes.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/calculate-amount-paid-in-taxes.py
Smallest Value After Replacing With Sum of Prime Factorshttps://leetcode.com/problems/smallest-value-after-replacing-with-sum-of-prime-factors/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-value-after-replacing-with-sum-of-prime-factors.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-value-after-replacing-with-sum-of-prime-factors.py
Time to Cross a Bridgehttps://leetcode.com/problems/time-to-cross-a-bridge/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/time-to-cross-a-bridge.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/time-to-cross-a-bridge.py
Time Taken to Cross the Doorhttps://leetcode.com/problems/time-taken-to-cross-the-door/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/time-taken-to-cross-the-door.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/time-taken-to-cross-the-door.py
Find Score of an Array After Marking All Elementshttps://leetcode.com/problems/find-score-of-an-array-after-marking-all-elements/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-score-of-an-array-after-marking-all-elements.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-score-of-an-array-after-marking-all-elements.py
Check Knight Tour Configurationhttps://leetcode.com/problems/check-knight-tour-configuration/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/check-knight-tour-configuration.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/check-knight-tour-configuration.py
Find the Losers of the Circular Gamehttps://leetcode.com/problems/find-the-losers-of-the-circular-game/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-the-losers-of-the-circular-game.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-the-losers-of-the-circular-game.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#constructive-algorithms
Maximize the Topmost Element After K Moveshttps://leetcode.com/problems/maximize-the-topmost-element-after-k-moves/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximize-the-topmost-element-after-k-moves.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximize-the-topmost-element-after-k-moves.py
Minimum Amount of Time to Fill Cupshttps://leetcode.com/problems/minimum-amount-of-time-to-fill-cups/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-amount-of-time-to-fill-cups.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-amount-of-time-to-fill-cups.py
Shortest Impossible Sequence of Rollshttps://leetcode.com/problems/shortest-impossible-sequence-of-rolls/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/shortest-impossible-sequence-of-rolls.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/shortest-impossible-sequence-of-rolls.py
Apply Bitwise Operations to Make Strings Equalhttps://leetcode.com/problems/apply-bitwise-operations-to-make-strings-equal/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/apply-bitwise-operations-to-make-strings-equal.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/apply-bitwise-operations-to-make-strings-equal.py
Maximum Number of Groups Entering a Competitionhttps://leetcode.com/problems/maximum-number-of-groups-entering-a-competition/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/maximum-number-of-groups-entering-a-competition.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/maximum-number-of-groups-entering-a-competition.py
Convert an Array Into a 2D Array With Conditionshttps://leetcode.com/problems/convert-an-array-into-a-2d-array-with-conditions/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/convert-an-array-into-a-2d-array-with-conditions.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/convert-an-array-into-a-2d-array-with-conditions.py
Color the Triangle Redhttps://leetcode.com/problems/color-the-triangle-red/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/color-the-triangle-red.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/color-the-triangle-red.py
Minimum Number of Operations to Make All Array Elements Equal to 1https://leetcode.com/problems/minimum-number-of-operations-to-make-all-array-elements-equal-to-1/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/minimum-number-of-operations-to-make-all-array-elements-equal-to-1.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/minimum-number-of-operations-to-make-all-array-elements-equal-to-1.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#design
Detect Squareshttps://leetcode.com/problems/detect-squares/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/detect-squares.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/detect-squares.py
Stock Price Fluctuationhttps://leetcode.com/problems/stock-price-fluctuation/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/stock-price-fluctuation.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/stock-price-fluctuation.py
Simple Bank Systemhttps://leetcode.com/problems/simple-bank-system/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/simple-bank-system.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/simple-bank-system.py
Walking Robot Simulation IIhttps://leetcode.com/problems/walking-robot-simulation-ii/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/walking-robot-simulation-ii.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/walking-robot-simulation-ii.py
Range Frequency Querieshttps://leetcode.com/problems/range-frequency-queries/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/range-frequency-queries.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/range-frequency-queries.py
Sequentially Ordinal Rank Trackerhttps://leetcode.com/problems/sequentially-ordinal-rank-tracker/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/sequentially-ordinal-rank-tracker.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/sequentially-ordinal-rank-tracker.py
Design Bitsethttps://leetcode.com/problems/design-bitset/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-bitset.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-bitset.py
Encrypt and Decrypt Stringshttps://leetcode.com/problems/encrypt-and-decrypt-strings/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/encrypt-and-decrypt-strings.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/encrypt-and-decrypt-strings.py
Design an ATM Machinehttps://leetcode.com/problems/design-an-atm-machine/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-an-atm-machine.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-an-atm-machine.py
Design Video Sharing Platformhttps://leetcode.com/problems/design-video-sharing-platform/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-video-sharing-platform.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-video-sharing-platform.py
Count Integers in Intervalshttps://leetcode.com/problems/count-integers-in-intervals/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/count-integers-in-intervals.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/count-integers-in-intervals.py
Booking Concert Tickets in Groupshttps://leetcode.com/problems/booking-concert-tickets-in-groups/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/booking-concert-tickets-in-groups.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/booking-concert-tickets-in-groups.py
Design a Text Editorhttps://leetcode.com/problems/design-a-text-editor/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-a-text-editor.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-a-text-editor.py
Smallest Number in Infinite Sethttps://leetcode.com/problems/smallest-number-in-infinite-set/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/smallest-number-in-infinite-set.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/smallest-number-in-infinite-set.py
Design a Number Container Systemhttps://leetcode.com/problems/design-a-number-container-system/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-a-number-container-system.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-a-number-container-system.py
Design a Food Rating Systemhttps://leetcode.com/problems/design-a-food-rating-system/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-a-food-rating-system.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-a-food-rating-system.py
Design SQLhttps://leetcode.com/problems/design-sql/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-sql.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-sql.py
Longest Uploaded Prefixhttps://leetcode.com/problems/longest-uploaded-prefix/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/longest-uploaded-prefix.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/longest-uploaded-prefix.py
Design Memory Allocatorhttps://leetcode.com/problems/design-memory-allocator/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-memory-allocator.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-memory-allocator.py
Find Consecutive Integers from a Data Streamhttps://leetcode.com/problems/find-consecutive-integers-from-a-data-stream/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/find-consecutive-integers-from-a-data-stream.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/find-consecutive-integers-from-a-data-stream.py
Design a Todo Listhttps://leetcode.com/problems/design-a-todo-list/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-a-todo-list.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-a-todo-list.py
Design Graph With Shortest Path Calculatorhttps://leetcode.com/problems/design-graph-with-shortest-path-calculator/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/design-graph-with-shortest-path-calculator.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/design-graph-with-shortest-path-calculator.py
Frequency Trackerhttps://leetcode.com/problems/frequency-tracker/
C++https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/C++/frequency-tracker.cpp
Pythonhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/Python/frequency-tracker.py
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#js
Check if Object Instance of Classhttps://leetcode.com/problems/check-if-object-instance-of-class/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/check-if-object-instance-of-class.ts
Array Prototype Lasthttps://leetcode.com/problems/array-prototype-last/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/array-prototype-last.ts
Counterhttps://leetcode.com/problems/counter/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/counter.ts
Sleephttps://leetcode.com/problems/sleep/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/sleep.ts
Cache With Time Limithttps://leetcode.com/problems/cache-with-time-limit/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/cache-with-time-limit.ts
Memoizehttps://leetcode.com/problems/memoize/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/memoize.ts
Snail traversalhttps://leetcode.com/problems/snail-traversal/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/snail-traversal.ts
Flatten Deeply Nested Arrayhttps://leetcode.com/problems/flatten-deeply-nested-array/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/flatten-deeply-nested-array.ts
Array Reduce Transformationhttps://leetcode.com/problems/array-reduce-transformation/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/array-reduce-transformation.ts
Debouncehttps://leetcode.com/problems/debounce/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/debounce.ts
JSON Deep Equalhttps://leetcode.com/problems/json-deep-equal/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/json-deep-equal.ts
Function Compositionhttps://leetcode.com/problems/function-composition/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/function-composition.ts
Memoize IIhttps://leetcode.com/problems/memoize-ii/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/memoize-ii.ts
Group Byhttps://leetcode.com/problems/group-by/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/group-by.ts
Curryhttps://leetcode.com/problems/curry/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/curry.ts
Convert Object to JSON Stringhttps://leetcode.com/problems/convert-object-to-json-string/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/convert-object-to-json-string.ts
Filter Elements from Arrayhttps://leetcode.com/problems/filter-elements-from-array/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/filter-elements-from-array.ts
Apply Transform Over Each Element in Arrayhttps://leetcode.com/problems/apply-transform-over-each-element-in-array/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/apply-transform-over-each-element-in-array.ts
Promise Poolhttps://leetcode.com/problems/promise-pool/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/promise-pool.ts
Promise Time Limithttps://leetcode.com/problems/promise-time-limit/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/promise-time-limit.ts
Generate Fibonacci Sequencehttps://leetcode.com/problems/generate-fibonacci-sequence/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/generate-fibonacci-sequence.ts
Nested Array Generatorhttps://leetcode.com/problems/nested-array-generator/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/nested-array-generator.ts
Design Cancellable Functionhttps://leetcode.com/problems/design-cancellable-function/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/design-cancellable-function.ts
Counter IIhttps://leetcode.com/problems/counter-ii/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/counter-ii.ts
Allow One Function Callhttps://leetcode.com/problems/allow-one-function-call/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/allow-one-function-call.ts
Create Hello World Functionhttps://leetcode.com/problems/create-hello-world-function/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/create-hello-world-function.ts
Array of Objects to Matrixhttps://leetcode.com/problems/array-of-objects-to-matrix/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/array-of-objects-to-matrix.ts
Throttlehttps://leetcode.com/problems/throttle/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/throttle.ts
Chunk Arrayhttps://leetcode.com/problems/chunk-array/
TypeScripthttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/TypeScript/chunk-array.ts
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#sql
The Number of Seniors and Juniors to Join the Companyhttps://leetcode.com/problems/the-number-of-seniors-and-juniors-to-join-the-company/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-number-of-seniors-and-juniors-to-join-the-company.sql
The Number of Seniors and Juniors to Join the Company IIhttps://leetcode.com/problems/the-number-of-seniors-and-juniors-to-join-the-company-ii/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-number-of-seniors-and-juniors-to-join-the-company.sql
Number of Accounts That Did Not Streamhttps://leetcode.com/problems/number-of-accounts-that-did-not-stream/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/number-of-accounts-that-did-not-stream.sql
Low-Quality Problemshttps://leetcode.com/problems/low-quality-problems/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/low-quality-problems.sql
Accepted Candidates From the Interviewshttps://leetcode.com/problems/accepted-candidates-from-the-interviews/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/accepted-candidates-from-the-interviews.sql
The Category of Each Member in the Storehttps://leetcode.com/problems/the-category-of-each-member-in-the-store/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-category-of-each-member-in-the-store.sql
Account Balancehttps://leetcode.com/problems/account-balance/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/account-balance.sql
The Winner Universityhttps://leetcode.com/problems/the-winner-university/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-winner-university.sql
The Number of Rich Customershttps://leetcode.com/problems/the-number-of-rich-customers/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-number-of-rich-customers.sql
Drop Type 1 Orders for Customers With Type 0 Ordershttps://leetcode.com/problems/drop-type-1-orders-for-customers-with-type-0-orders/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/drop-type-1-orders-for-customers-with-type-0-orders.sql
The Airport With the Most Traffichttps://leetcode.com/problems/the-airport-with-the-most-traffic/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-airport-with-the-most-traffic.sql
Build the Equationhttps://leetcode.com/problems/build-the-equation/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/build-the-equation.sql
The Number of Passengers in Each Bus Ihttps://leetcode.com/problems/the-number-of-passengers-in-each-bus-i/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-number-of-passengers-in-each-bus-i.sql
The Number of Passengers in Each Bus IIhttps://leetcode.com/problems/the-number-of-passengers-in-each-bus-ii/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-number-of-passengers-in-each-bus-ii.sql
Order Two Columns Independentlyhttps://leetcode.com/problems/order-two-columns-independently/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/order-two-columns-independently.sql
Longest Winning Streakhttps://leetcode.com/problems/longest-winning-streak/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/longest-winning-streak.sql
The Change in Global Rankingshttps://leetcode.com/problems/the-change-in-global-rankings/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-change-in-global-rankings.sql
Finding the Topic of Each Posthttps://leetcode.com/problems/finding-the-topic-of-each-post/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/finding-the-topic-of-each-post.sql
The Number of Users That Are Eligible for Discounthttps://leetcode.com/problems/the-number-of-users-that-are-eligible-for-discount/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-number-of-users-that-are-eligible-for-discount.sql
Users With Two Purchases Within Seven Dayshttps://leetcode.com/problems/users-with-two-purchases-within-seven-days/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/users-with-two-purchases-within-seven-days.sql
The Users That Are Eligible for Discounthttps://leetcode.com/problems/the-users-that-are-eligible-for-discount/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-users-that-are-eligible-for-discount.sql
Number of Times a Driver Was a Passengerhttps://leetcode.com/problems/number-of-times-a-driver-was-a-passenger/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/number-of-times-a-driver-was-a-passenger.sql
Dynamic Pivoting of a Tablehttps://leetcode.com/problems/dynamic-pivoting-of-a-table/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/dynamic-pivoting-of-a-table.sql
Dynamic Unpivoting of a Tablehttps://leetcode.com/problems/dynamic-unpivoting-of-a-table/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/dynamic-unpivoting-of-a-table.sql
Products With Three or More Orders in Two Consecutive Yearshttps://leetcode.com/problems/products-with-three-or-more-orders-in-two-consecutive-years/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/products-with-three-or-more-orders-in-two-consecutive-years.sql
Tasks Count in the Weekendhttps://leetcode.com/problems/tasks-count-in-the-weekend/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/tasks-count-in-the-weekend.sql
Arrange Table by Genderhttps://leetcode.com/problems/arrange-table-by-gender/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/arrange-table-by-gender.sql
The First Day of the Maximum Recorded Degree in Each Cityhttps://leetcode.com/problems/the-first-day-of-the-maximum-recorded-degree-in-each-city/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/the-first-day-of-the-maximum-recorded-degree-in-each-city.sql
Product Sales Analysis IVhttps://leetcode.com/problems/product-sales-analysis-iv/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/product-sales-analysis-iv.sql
Product Sales Analysis Vhttps://leetcode.com/problems/product-sales-analysis-v/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/product-sales-analysis-v.sql
All the Matches of the Leaguehttps://leetcode.com/problems/all-the-matches-of-the-league/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/all-the-matches-of-the-league.sql
Compute the Rank as a Percentagehttps://leetcode.com/problems/compute-the-rank-as-a-percentage/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/compute-the-rank-as-a-percentage.sql
Number of Unique Subjects Taught by Each Teacherhttps://leetcode.com/problems/number-of-unique-subjects-taught-by-each-teacher/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/number-of-unique-subjects-taught-by-each-teacher.sql
Generate the Invoicehttps://leetcode.com/problems/generate-the-invoice/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/generate-the-invoice.sql
Calculate the Influence of Each Salespersonhttps://leetcode.com/problems/calculate-the-influence-of-each-salesperson/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/calculate-the-influence-of-each-salesperson.sql
Sort the Olympic Tablehttps://leetcode.com/problems/sort-the-olympic-table/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/sort-the-olympic-table.sql
Change Null Values in a Table to the Previous Valuehttps://leetcode.com/problems/change-null-values-in-a-table-to-the-previous-value/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/change-null-values-in-a-table-to-the-previous-value.sql
Employees With Deductionshttps://leetcode.com/problems/employees-with-deductions/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/employees-with-deductions.sql
Customers With Strictly Increasing Purchaseshttps://leetcode.com/problems/customers-with-strictly-increasing-purchases/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/customers-with-strictly-increasing-purchases.sql
Form a Chemical Bondhttps://leetcode.com/problems/form-a-chemical-bond/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/form-a-chemical-bond.sql
Merge Overlapping Events in the Same Hallhttps://leetcode.com/problems/merge-overlapping-events-in-the-same-hall/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/merge-overlapping-events-in-the-same-hall.sql
Concatenate the Name and the Professionhttps://leetcode.com/problems/concatenate-the-name-and-the-profession/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/concatenate-the-name-and-the-profession.sql
Find Latest Salarieshttps://leetcode.com/problems/find-latest-salaries/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/find-latest-salaries.sql
Count Artist Occurrences On Spotify Ranking Listhttps://leetcode.com/problems/count-artist-occurrences-on-spotify-ranking-list/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/count-artist-occurrences-on-spotify-ranking-list.sql
Immediate Food Delivery IIIhttps://leetcode.com/problems/immediate-food-delivery-iii/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/immediate-food-delivery-iii.sql
Bikes Last Time Usedhttps://leetcode.com/problems/bikes-last-time-used/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/bikes-last-time-used.sql
Find Active Usershttps://leetcode.com/problems/find-active-users/
MySQLhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/blob/master/MySQL/find-active-users.sql
⬆️ Back to Tophttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#algorithms
Readme https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions
Activityhttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/activity
0 starshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/watchers
0 forkshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Ffei023%2FLeetCode-Solutions&report=fei023+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/fei023/LeetCode-Solutions/releases
Packages 0https://patch-diff.githubusercontent.com/users/fei023/packages?repo_name=LeetCode-Solutions
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.