Back to All Months
2026 ARCHIVE

October 2026 Problems

Select any day to explore the LeetCode daily coding challenge solution.

01

Day 01

Valid Parentheses
Easy
02

Day 02

Generate Parentheses
Medium
03

Day 03

Longest Valid Parentheses
Hard
04

Day 04

Valid Parenthesis String
Medium
05

Day 05

Score of Parentheses
Medium
06

Day 06

Minimum Add to Make Parentheses Valid
Medium
07

Day 07

Remove Invalid Parentheses
Hard
08

Day 08

Remove Outermost Parentheses
Easy
09

Day 09

Minimum Insertions to Balance a Parentheses String
Medium
10

Day 10

Minimum Sum of Squared Difference
Medium
11

Day 11

Sum of Squares of Special Elements
Easy
12

Day 12

Apply Operations on Array to Maximize Sum of Squares
Hard
13

Day 13

Maximum Alternating Sum of Squares
Medium
14

Day 14

Maximize Sum of Squares of Digits
Medium
15

Day 15

Subarrays Distinct Element Sum of Squares I
Easy
16

Day 16

Subarrays Distinct Element Sum of Squares II
Hard
17

Day 17

Minimum Swaps to Sort by Digit Sum
Medium
18

Day 18

Number of Ways to Reorder Array to Get Same BST
Hard
19

Day 19

Find Target Indices After Sorting Array
Easy
20

Day 20

Sum of Sortable Integers
Hard
21

Day 21

Minimum Operations to Sort a String
Medium
22

Day 22

Minimum Operations to Sort a Permutation
Medium
23

Day 23

Maximum K to Sort a Permutation
Medium
24

Day 24

Count Days Spent Together
Easy
25

Day 25

Number of Closed Islands
Medium
26

Day 26

Count Islands With Total Value Divisible by K
Medium
27

Day 27

Create Grid With Exactly One Path
Easy
28

Day 28

Minimum XOR Path in a Grid
Medium
29

Day 29

Palindromic Path Queries in a Tree
Hard
30

Day 30

Shortest Path With At Most K Consecutive Identical Characters
Medium
31

Day 31

Twisted Mirror Path Count
Medium