LeetCode solutions — page 12
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 551–569 of 569 solutions matching Easy, filtered from 1,055.
- 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 12 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.