LeetCode solutions — page 18
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 851–867 of 867 solutions matching Python, filtered from 1,055.
- 4090. Minimum String Length After Balanced Removals Medium Languages: Python Accepted runtime 4ms
- 4095. Number of Balanced Integers in a Range Hard Languages: Python Accepted runtime 5698ms
- 4099. Minimum Operations to Make Binary Palindrome Medium Languages: Python Accepted runtime 1574ms
- 4100. Complete Prime Number Medium Languages: Python Accepted runtime 0ms
- 4101. Maximum Product of Three Elements After One Replacement Medium Languages: Python Accepted runtime 196ms
- 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
- 4119. Minimum Distance Between Three Equal Elements II Medium Languages: Python Accepted runtime 359ms
- 4126. Minimum Number of Flips to Reverse Binary String Easy Languages: Python Accepted runtime 3ms
- 4130. Maximum Score After Binary Swaps Medium Languages: Python Accepted runtime 175ms
- 4135. Concatenate Non-Zero Digits and Multiply by Sum I Easy Languages: Python Accepted runtime 0ms
- 4138. Minimum Deletion Cost to Make All Characters Equal Medium Languages: Python Accepted runtime 59ms
- 4139. Minimum Absolute Distance Between Mirror Pairs Medium Languages: Python Accepted runtime 260ms
- 4141. Count Elements With at Least K Greater Values Medium Languages: Python Accepted runtime 1463ms
- 4147. Minimum Cost to Acquire Required Items Medium Languages: Python Accepted runtime 0ms
Page 18 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.