LeetCode solutions — page 14
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 651–700 of 867 solutions matching Python, filtered from 1,055.
- 3320. Maximum Number of Operations With the Same Score I Easy Languages: Python Accepted runtime 0ms
- 3326. Count Pairs of Connectable Servers in a Weighted Tree Network Medium Languages: Python Accepted runtime 1575ms
- 3327. Minimum Moves to Pick K Ones Hard Languages: Python Accepted runtime 107ms
- 3328. Apply Operations to Make Sum of Array Greater Than or Equal to k Medium Languages: Python Accepted runtime 3ms
- 3330. Modify the Matrix Easy Languages: Python Accepted runtime 0ms
- 3334. Apple Redistribution into Boxes Easy Languages: Python Accepted runtime 0ms
- 3347. Distribute Elements Into Two Arrays I Easy Languages: Python Accepted runtime 0ms
- 3348. Minimum Cost Walk in Weighted Graph Hard Languages: Python Accepted runtime 181ms
- 3349. Maximum Length Substring With Two Occurrences Easy Languages: Python Accepted runtime 7ms
- 3350. Distribute Elements Into Two Arrays II Hard Languages: Python Accepted runtime 993ms
- 3351. Maximize Happiness of Selected Children Medium Languages: Python Accepted runtime 853ms
- 3353. Existence of a Substring in a String and Its Reverse Easy Languages: Python Accepted runtime 0ms
- 3360. Minimum Deletions to Make String K-Special Medium Languages: Python Accepted runtime 56ms
- 3361. Latest Time You Can Obtain After Replacing Characters Easy Languages: Python Accepted runtime 40ms
- 3367. Find the Sum of Encrypted Integers Easy Languages: Python Accepted runtime 59ms
- 3371. Harshad Number Easy Languages: Python Accepted runtime 0ms
- 3372. Longest Strictly Increasing or Strictly Decreasing Subarray Easy Languages: Python Accepted runtime 4ms
- 3373. Maximum Prime Difference Medium Languages: Python Accepted runtime 883ms
- 3379. Score of a String Easy Languages: Python Accepted runtime 2ms
- 3380. Shortest Subarray With OR at Least K II Medium Languages: Python Accepted runtime 1824ms
- 3381. Shortest Subarray With OR at Least K I Easy Languages: Python Accepted runtime 2ms
- 3384. Minimum Number of Operations to Make Word K-Periodic Medium Languages: Python Accepted runtime 59ms
- 3389. Minimum Time to Visit Disappearing Nodes Medium Languages: Python Accepted runtime 394ms
- 3390. Minimum Rectangles to Cover Points Medium Languages: Python Accepted runtime 28ms
- 3394. Minimum Array End Medium Languages: Python Accepted runtime 0ms
- 3398. Make a Square with the Same Color Easy Languages: Python Accepted runtime 0ms
- 3404. Minimum Number of Operations to Satisfy Conditions Medium Languages: Python Accepted runtime 171ms
- 3406. Find All Possible Stable Binary Arrays I Medium Languages: Python Accepted runtime 7382ms
- 3408. Count the Number of Special Characters I Easy Languages: Python Accepted runtime 3ms
- 3415. Check if Grid Satisfies Conditions Easy Languages: Python Accepted runtime 3ms
- 3416. Sum of Digit Differences of All Pairs Medium Languages: Python Accepted runtime 379ms
- 3418. Count Pairs That Form a Complete Day II Medium Languages: Python Accepted runtime 1073ms
- 3420. Find Occurrences of an Element in an Array Medium Languages: Python Accepted runtime 44ms
- 3421. Count Pairs That Form a Complete Day I Easy Languages: Python Accepted runtime 11ms
- 3426. Minimum Number of Chairs in a Waiting Room Easy Languages: Python Accepted runtime 1ms
- 3427. Special Array II Medium Languages: Python Accepted runtime 35ms
- 3430. Count Days Without Meetings Medium Languages: Python Accepted runtime 191ms
- 3434. Find the Number of Distinct Colors Among the Balls Medium Languages: Python Accepted runtime 59ms
- 3437. Maximum Total Damage With Spell Casting Medium Languages: Python Accepted runtime 1121ms
- 3439. Find Minimum Diameter After Merging Two Trees Hard Languages: Python Accepted runtime 525ms
- 3444. Find the Number of Good Pairs II Medium Languages: Python Accepted runtime 7485ms
- 3450. Find the Child Who Has the Ball After K Seconds Easy Languages: Python Accepted runtime 0ms
- 3454. Minimum Operations to Make Array Equal to Target Hard Languages: Python Accepted runtime 67ms
- 3455. Minimum Length of String After Operations Medium Languages: Python Accepted runtime 147ms
- 3459. Find the Minimum Area to Cover All Ones II Hard Languages: Python Accepted runtime 6583ms
- 3461. Find the Minimum Area to Cover All Ones I Medium Languages: Python Accepted runtime 2999ms
- 3463. Alternating Groups I Easy Languages: Python Accepted runtime 60ms
- 3469. Maximum Height of a Triangle Easy Languages: Python Accepted runtime 28ms
- 3479. Count the Number of Substrings With Dominant Ones Medium Languages: Python Accepted runtime 19769ms
- 3483. Alternating Groups II Medium Languages: Python Accepted runtime 737ms
Page 14 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.