LeetCode solutions — page 9
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 401–439 of 439 solutions matching Easy + Python, filtered from 1,055.
- 3811. Reverse Degree of a String Easy Languages: Python Accepted runtime 9ms
- 3817. Maximum Containers on a Ship Easy Languages: Python Accepted runtime 0ms
- 3830. Find Closest Person Easy Languages: Python Accepted runtime 0ms
- 3832. Minimum Cost to Reach Every Position Easy Languages: Python Accepted runtime 3ms
- 3846. Minimum Operations to Make Array Sum Divisible by K Easy Languages: Python Accepted runtime 3ms
- 3859. Maximum Product of Two Digits Easy Languages: Python Accepted runtime 4ms
- 3869. Smallest Index With Digit Sum Equal to Index Easy Languages: Python Accepted runtime 7ms
- 3871. Minimum Deletions for At Most K Distinct Characters Easy Languages: Python Accepted runtime 3ms
- 3872. Find Most Frequent Vowel and Consonant Easy Languages: Python Accepted runtime 3ms
- 3879. Find Minimum Log Transportation Cost Easy Languages: Python Accepted runtime 0ms
- 3893. Generate Tag for Video Caption Easy Languages: Python Accepted runtime 0ms
- 3912. Hexadecimal and Hexatrigesimal Conversion Easy Languages: Python Accepted runtime 1ms
- 3914. Check if Any Element Has Prime Frequency Easy Languages: Python Accepted runtime 6ms
- 3918. Check Divisibility by Digit Sum and Product Easy Languages: Python Accepted runtime 0ms
- 3934. Coupon Code Validator Easy Languages: Python Accepted runtime 0ms
- 3952. Trionic Array I Easy Languages: Python Accepted runtime 57ms
- 3965. Earliest Finish Time for Land and Water Rides I Easy Languages: Python Accepted runtime 424ms
- 3973. Flip Square Submatrix Vertically Easy Languages: Python Accepted runtime 3ms
- 3994. Find The Least Frequent Digit Easy Languages: Python Accepted runtime 0ms
- 3995. GCD of Odd and Even Sums Easy Languages: Python Accepted runtime 0ms
- 3997. Maximize Sum of At Most K Distinct Elements Easy Languages: Python Accepted runtime 0ms
- 3998. Minimum Operations to Equalize Array Easy Languages: Python Accepted runtime 0ms
- 4008. Restore Finishing Order Easy Languages: Python Accepted runtime 0ms
- 4009. Bitwise OR of Even Numbers in an Array Easy Languages: Python Accepted runtime 0ms
- 4011. Smallest Absent Positive Greater Than Average Easy Languages: Python Accepted runtime 5ms
- 4012. Earliest Time to Finish One Task Easy Languages: Python Accepted runtime 2ms
- 4039. Compute Decimal Representation Easy Languages: Python Accepted runtime 3ms
- 4051. Remove Zeros in Decimal Representation Easy Languages: Python Accepted runtime 4ms
- 4052. Equal Score Substrings Easy Languages: Python Accepted runtime 3ms
- 4053. Majority Frequency Characters Easy Languages: Python Accepted runtime 3ms
- 4058. Compute Alternating Sum Easy Languages: Python Accepted runtime 3ms
- 4068. Sum of Elements With Frequency Divisible by K Easy Languages: Python Accepted runtime 4ms
- 4080. Smallest Missing Multiple of K Easy Languages: Python Accepted runtime 0ms
- 4107. Find Missing Elements Easy Languages: Python Accepted runtime 3ms
- 4112. Maximize Expression of Three Elements Easy Languages: Python Accepted runtime 4ms
- 4115. Minimum Distance Between Three Equal Elements I Easy Languages: Python Accepted runtime 2ms
- 4116. Minimum Moves to Equal Array Elements III Easy Languages: Python Accepted runtime 3ms
- 4126. Minimum Number of Flips to Reverse Binary String Easy Languages: Python Accepted runtime 3ms
- 4135. Concatenate Non-Zero Digits and Multiply by Sum I Easy Languages: Python Accepted runtime 0ms
Page 9 of 9
These are practice solutions, not lessons. If you came here to learn how any of it works, the explanations live in the lessons.