LeetCodechevron_rightDifficulty trackschevron_rightMedium
Practice by pressure level

Medium LeetCode problems

Medium is best used as a pressure-calibration track for solving stability, complexity explanation, and follow-up handling. The page keeps the useful training cues, then tucks the large corpus into a progressive-loading bank.

database1,423 problemscategory8 high-frequency topicsspeedInterview drill track

Training brief

Focus

Focus on pattern recognition and trade-off clarity.

Cadence

Run 3-4 problems per round and review state design plus complexity trade-offs.

Best paired with

Pair with two pointers, sliding window, and DP to sharpen transfer between patterns.

Training focus

Focus on pattern recognition and trade-off clarity.

Cadence

Run 3-4 problems per round and review state design plus complexity trade-offs.

Pair with

Pair with two pointers, sliding window, and DP to sharpen transfer between patterns.

Problem bank

Medium difficulty bank

The full corpus is no longer dumped onto the page. Search fast, narrow by high-frequency topic, and let the bank load progressively inside its own container.

Progressive training bank

Made for large difficulty tracks: scan the structure first, then dig deeper.

hourglass_bottomScroll inside to continue
search
categoryTopic focus

Showing 24 / 1,423 problems

+24 per load
#TitleDifficulty
2

Add Two Numbers

Add Two Numbers requires careful linked-list pointer manipulation to sum digits while handling carries efficiently in in…

Medium
3

Longest Substring Without Repeating Characters

Find the length of the longest substring without repeating characters using a sliding window and hash map to track state…

Medium
5

Longest Palindromic Substring

Find the longest contiguous palindromic substring in a given string using dynamic programming and two-pointer expansion …

Medium
6

Zigzag Conversion

Convert a string into a zigzag pattern across multiple rows and read it line by line efficiently for string manipulation…

Medium
7

Reverse Integer

Reverse Integer challenges you to invert the digits of a signed 32-bit integer, handling overflow and negative values ca…

Medium
8

String to Integer (atoi)

Convert a string to a 32-bit signed integer by carefully parsing characters, handling signs, and ignoring invalid traili…

Medium
11

Container With Most Water

Find two vertical lines that can form a container with the most water in a given array of heights.

Medium
12

Integer to Roman

Convert a given integer to its Roman numeral representation using hash table mapping and decimal place math operations e…

Medium
15

3Sum

Given an integer array, return all unique triplets where the sum is zero using two-pointer scanning with careful duplica…

Medium
16

3Sum Closest

Find the sum of three integers in an array that is closest to a given target using two-pointer scanning.

Medium
17

Letter Combinations of a Phone Number

Generate all letter combinations a digit string can represent using backtracking with pruning, leveraging hash table map…

Medium
18

4Sum

The 4Sum problem requires finding all unique quadruplets in an array that sum to a specific target value.

Medium
19

Remove Nth Node From End of List

Remove the nth node from the end of a linked list using a two-pointer approach to solve efficiently.

Medium
22

Generate Parentheses

Generate Parentheses requires generating all valid combinations of parentheses with given pairs using backtracking and s…

Medium
24

Swap Nodes in Pairs

Learn how to swap every adjacent linked-list pair by rewiring nodes safely without changing values or breaking the remai…

Medium
29

Divide Two Integers

Solve Divide Two Integers by turning repeated subtraction into bit-shifted chunk subtraction with careful sign and overf…

Medium
31

Next Permutation

Next Permutation is a medium-difficulty problem focusing on generating the next lexicographically greater permutation of…

Medium
33

Search in Rotated Sorted Array

Find the index of a target in a rotated sorted array using a careful binary search that handles pivot shifts.

Medium
34

Find First and Last Position of Element in Sorted Array

Locate the first and last index of a target in a sorted array using binary search for precise O(log n) performance.

Medium
36

Valid Sudoku

Check if a 9x9 Sudoku board is valid by scanning rows, columns, and sub-boxes with hash lookups, ensuring no duplicates …

Medium
38

Count and Say

Count and Say requires building the nth sequence term by iteratively applying a run-length encoding on strings of digits…

Medium
39

Combination Sum

Find all unique combinations of numbers from a distinct array that sum to a target using controlled backtracking search.

Medium
40

Combination Sum II

Find all unique combinations of numbers that sum to a target using backtracking with careful pruning to avoid duplicates…

Medium
43

Multiply Strings

Multiply Strings requires simulating integer multiplication using only string operations without direct numeric conversi…

Medium

swap_vertScroll inside the bank to auto-load more

Continue by topic

Once you know the weak spots, jump into narrower topic hubs for targeted reps at the same pressure level.

route

Guided Practice Path

AI recommends problems by your level and tracks your progress.

Start Guided Patharrow_forward
Medium LeetCode Problems