4,067 unique problems
LeetCode Solutions
Browse LeetCode solutions grouped by problem, with C++, Java, Python, SQL, and TypeScript when available. 4,067 unique problems are available in the library.
Showing problems 1–150 of 4,067. Every problem in this collection is available across these pages.
LeetCode
Absolute Difference Between Maximum and Minimum K Elements
Sorting & searching · 2 languages
LeetCode
Alert Using Same Key-Card Three or More Times in a One Hour Period
Data structures · 3 languages
LeetCode
Apply Operations to Make All Array Elements Equal to Zero
Arrays & prefix sums · 3 languages
LeetCode
Apply Operations to Make Sum of Array Greater Than or Equal to k
Arrays & prefix sums · 3 languages
LeetCode
Average Salary Excluding the Minimum and Maximum Salary
Implementation & simulation · 3 languages
LeetCode
Average Value of Even Numbers That Are Divisible by Three
Implementation & simulation · 3 languages