LeetCode solutions — page 10
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 451–500 of 569 solutions matching Easy, filtered from 1,055.
- 3347. Distribute Elements Into Two Arrays I Easy Languages: Python Accepted runtime 0ms
- 3349. Maximum Length Substring With Two Occurrences Easy Languages: Python Accepted runtime 7ms
- 3353. Existence of a Substring in a String and Its Reverse Easy Languages: Python Accepted runtime 0ms
- 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
- 3379. Score of a String Easy Languages: Python Accepted runtime 2ms
- 3381. Shortest Subarray With OR at Least K I Easy Languages: Python Accepted runtime 2ms
- 3396. Valid Word Easy Languages: C++ Accepted runtime 0ms
- 3397. Find the Integer Added to Array I Easy Languages: C++ Accepted runtime 0ms
- 3398. Make a Square with the Same Color Easy Languages: Python Accepted runtime 0ms
- 3408. Count the Number of Special Characters I Easy Languages: Python Accepted runtime 3ms
- 3412. Permutation Difference between Two Strings Easy Languages: C++ Accepted runtime 0ms
- 3415. Check if Grid Satisfies Conditions Easy Languages: Python Accepted runtime 3ms
- 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
- 3428. Find the XOR of Numbers Which Appear Twice Easy Languages: C++ Accepted runtime 0ms
- 3429. Special Array I Easy Languages: C++ Accepted runtime 0ms
- 3446. Find the Number of Good Pairs I Easy Languages: C++ Accepted runtime 0ms
- 3447. Clear Digits Easy Languages: C++ Accepted runtime 0ms
- 3450. Find the Child Who Has the Ball After K Seconds Easy Languages: Python Accepted runtime 0ms
- 3463. Alternating Groups I Easy Languages: Python Accepted runtime 60ms
- 3468. Find the Encrypted String Easy Languages: C++ Accepted runtime 0ms
- 3469. Maximum Height of a Triangle Easy Languages: Python Accepted runtime 28ms
- 3471. Minimum Average of Smallest and Largest Elements Easy Languages: C++ Accepted runtime 0ms
- 3476. Find Minimum Operations to Make All Elements Divisible by Three Easy Languages: C++ Accepted runtime 0ms
- 3484. Lexicographically Smallest String After a Swap Easy Languages: Python Accepted runtime 0ms
- 3508. Number of Bit Changes to Make Two Integers Equal Easy Languages: Python Accepted runtime 4ms
- 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
- 3533. Snake in Matrix Easy Languages: Python Accepted runtime 1ms
- 3543. Count Substrings That Satisfy K-Constraint I Easy Languages: Python Accepted runtime 19ms
- 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
- 3567. Convert Date to Binary Easy Languages: Python Accepted runtime 0ms
- 3568. Find the Key of the Numbers Easy Languages: Python Accepted runtime 4ms
- 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
- 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
- 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
- 3621. Minimum Operations to Make Array Values Equal to K Easy Languages: Python Accepted runtime 67ms
- 3625. Stone Removal Game Easy Languages: Python Accepted runtime 0ms
Page 10 of 12
These are practice solutions, not lessons. If you came here to learn how any of it works, the explanations live in the lessons.