LeetCode solutions — page 15
Every LeetCode problem I have solved, with the accepted code in each language I solved it in. The problem statements stay on LeetCode where they belong — what is here is the solution, the runtime it was accepted at, and a link to the repository it came from.
1,055 solutions
Showing 701–750 of 867 solutions matching Python, filtered from 1,055.
- 3484. Lexicographically Smallest String After a Swap Easy Languages: Python Accepted runtime 0ms
- 3491. Find the Maximum Length of Valid Subsequence II Medium Languages: Python Accepted runtime 1247ms
- 3492. Count Submatrices With Equal Frequency of X and Y Medium Languages: Python Accepted runtime 924ms
- 3495. K-th Nearest Obstacle Queries Medium Languages: Python Accepted runtime 194ms
- 3507. Find the Count of Numbers Which Are Not Special Medium Languages: Python Accepted runtime 227ms
- 3508. Number of Bit Changes to Make Two Integers Equal Easy Languages: Python Accepted runtime 4ms
- 3510. Maximize the Total Height of Unique Towers Medium Languages: Python Accepted runtime 219ms
- 3511. Find the Winning Player in Coin Game Easy Languages: Python Accepted runtime 0ms
- 3515. Find if Digit Game Can Be Won Easy Languages: Python Accepted runtime 0ms
- 3516. Design Neighbor Sum Service Easy Languages: Python Accepted runtime 28ms
- 3519. Find the Number of Winning Players Easy Languages: Python Accepted runtime 5ms
- 3531. Minimum Amount of Damage Dealt to Bob Hard Languages: Python Accepted runtime 219ms
- 3533. Snake in Matrix Easy Languages: Python Accepted runtime 1ms
- 3534. Count Almost Equal Pairs I Medium Languages: Python Accepted runtime 3161ms
- 3540. Hash Divided String Medium Languages: Python Accepted runtime 19ms
- 3543. Count Substrings That Satisfy K-Constraint I Easy Languages: Python Accepted runtime 19ms
- 3544. Count Almost Equal Pairs II Hard Languages: Python Accepted runtime 5414ms
- 3546. Count Substrings That Satisfy K-Constraint II Hard Languages: Python Accepted runtime 591ms
- 3548. Find the Count of Good Integers Hard Languages: Python Accepted runtime 814ms
- 3552. Find the Largest Palindrome Divisible by K Hard Languages: Python Accepted runtime 99ms
- 3553. Check if Two Chessboard Squares Have the Same Color Easy Languages: Python Accepted runtime 32ms
- 3555. Final Array State After K Multiplication Operations I Easy Languages: Python Accepted runtime 2ms
- 3556. Final Array State After K Multiplication Operations II Hard Languages: Python Accepted runtime 368ms
- 3559. Minimum Number of Valid Strings to Form Target I Medium Languages: Python Accepted runtime 11060ms
- 3563. Select Cells in Grid With Maximum Score Hard Languages: Python Accepted runtime 344ms
- 3566. Find the Sequence of Strings Appeared on the Screen Medium Languages: Python Accepted runtime 21ms
- 3567. Convert Date to Binary Easy Languages: Python Accepted runtime 0ms
- 3568. Find the Key of the Numbers Easy Languages: Python Accepted runtime 4ms
- 3569. Count of Substrings Containing Every Vowel and K Consonants II Medium Languages: Python Accepted runtime 1479ms
- 3572. Count Substrings That Can Be Rearranged to Contain a String II Hard Languages: Python Accepted runtime 3210ms
- 3573. Count Substrings That Can Be Rearranged to Contain a String I Medium Languages: Python Accepted runtime 291ms
- 3581. The Two Sneaky Numbers of Digitville Easy Languages: Python Accepted runtime 2ms
- 3582. Find Indices of Stable Mountains Easy Languages: Python Accepted runtime 0ms
- 3587. Maximum Points Tourist Can Earn Medium Languages: Python Accepted runtime 7578ms
- 3593. Find the Maximum Factor Score of Array Medium Languages: Python Accepted runtime 45ms
- 3600. Find the K-th Character in String Game I Easy Languages: Python Accepted runtime 19ms
- 3605. Construct the Minimum Bitwise Array I Easy Languages: Python Accepted runtime 127ms
- 3606. Minimum Element After Replacement With Digit Sum Easy Languages: Python Accepted runtime 10ms
- 3610. Find X-Sum of All K-Long Subarrays I Easy Languages: Python Accepted runtime 19ms
- 3611. Construct the Minimum Bitwise Array II Medium Languages: Python Accepted runtime 0ms
- 3612. Adjacent Increasing Subarrays Detection I Easy Languages: Python Accepted runtime 79ms
- 3616. Make Array Elements Equal to Zero Easy Languages: Python Accepted runtime 3658ms
- 3617. Find the Original Typed String I Easy Languages: Python Accepted runtime 46ms
- 3620. Maximum Number of Distinct Elements After Operations Medium Languages: Python Accepted runtime 751ms
- 3621. Minimum Operations to Make Array Values Equal to K Easy Languages: Python Accepted runtime 67ms
- 3622. Maximum Frequency of an Element After Performing Operations I Medium Languages: Python Accepted runtime 2046ms
- 3625. Stone Removal Game Easy Languages: Python Accepted runtime 0ms
- 3626. Smallest Divisible Digit Product I Easy Languages: Python Accepted runtime 1ms
- 3627. Find Minimum Time to Reach Last Room I Medium Languages: Python Accepted runtime 135ms
- 3628. Find Minimum Time to Reach Last Room II Medium Languages: Python Accepted runtime 2427ms
Page 15 of 18
These are practice solutions, not lessons. If you came here to learn how any of it works, the explanations live in the lessons.