57. Insert Interval Problem You are given an array of non-overlapping intervals intervals where intervals[i] = [startᵢ, endᵢ] represent the start... 2024-11-18 medium
56. Merge Intervals Problem Given an array of intervals where intervals[i] = [startᵢ, endᵢ], merge all overlapping intervals, and retur... 2024-11-18 medium
55. Jump Game Problem You are given an integer array nums. You are initially positioned at the array’s first index, and each element in the... 2024-11-18 medium
54. Spiral Matrix Problem Given an m x n matrix, return all elements of the matrix in spiral order. https://leetcode.com/problems/spiral-matrix... 2024-11-18 medium
53. Maximum Subarray Problem Given an integer array nums, find the subarray with the largest sum, and return its sum. A subarray is a contiguous ... 2025-01-08 medium
435. Non-overlapping Intervals Problem Given an array of intervals intervals where intervals[i] = [startᵢ, endᵢ], return the minimum number of intervals you... 2024-11-18 medium
49. Group Anagrams Problem Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a... 2024-11-17 medium
48. Rotate Image Problem You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotat... 2024-11-17 medium
825. Friends Of Appropriate Ages Problem There are n persons on a social media website. You are given an integer array ages where ages[i] is the age of the iᵗ... 2024-11-17 medium
300. Longest Increasing Subsequence Problem Given an integer array nums, return the length of the longest strictly increasing subsequence. A subsequence is an a... 2024-11-17 medium hard
424. Longest Repeating Character Replacement Problem You are given a string s and an integer k. You can choose any character of the string and change it to any other uppe... 2024-11-16 medium
3240. Minimum Number of Flips to Make Binary Grid Palindromic II Problem You are given an m x n binary matrix grid. A row or column is considered palindromic if its values read the same forw... 2024-11-16 medium
417. Pacific Atlantic Water Flow Problem There is an m x n rectangular island that borders both the Pacific Ocean and Atlantic Ocean. The Pacific Ocean touche... 2024-11-16 medium
33. Search in Rotated Sorted Array Problem There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your functi... 2024-11-15 medium
153. Find Minimum in Rotated Sorted Array Problem Suppose an array of length n sorted in ascending order is rotated between 1 and n times. For example, the array nums ... 2024-11-15 medium
3239. Minimum Number of Flips to Make Binary Grid Palindromic I Problem You are given an m x n binary matrix grid. A row or column is considered palindromic if its values read the same forw... 2024-11-15 medium
152. Maximum Product Subarray Problem Given an integer array nums, find a subarray that has the largest product, and return the product. A subarray is a c... 2024-11-15 medium
19. Remove Nth Node From End of List Problem Given the head of a linked list, remove the nᵗʰ node from the end of the list and return its head. https://leetcode.c... 2024-11-14 medium
143. Reorder List Problem You are given the head of a singly linked-list. The list can be represented as: L0 → L1 → … → Ln - 1 → Ln Reorder t... 2024-11-14 medium
3249. Count the Number of Good Nodes Problem There is an undirected tree with n nodes labeled from 0 to n - 1, and rooted at node 0. You are given a 2D integer ar... 2024-11-14 medium
15. 3Sum Problem Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k... 2024-11-13 medium
139. Word Break Problem Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated seque... 2024-11-11 medium
11. Container With Most Water Problem You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of th... 2024-11-11 medium
647. Palindromic Substrings Problem Given a string s, return the number of palindromic substrings in it. A string is a palindrome when it reads the same ... 2024-11-10 medium
133. Clone Graph Problem Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in th... 2024-11-10 medium
5. Longest Palindromic Substring Problem Given a string s, return the longest palindromic substring in s. A string is palindromic if it reads the same forwar... 2024-11-10 medium
540. Single Element in a Sorted Array Problem You are given a sorted array consisting of only integers where every element appears exactly twice, except for one el... 2024-11-10 medium
3. Longest Substring Without Repeating Characters Problem Given a string s, find the length of the longest substring without repeating characters. A substring is a contiguous... 2024-11-10 medium
128. Longest Consecutive Sequence Problem Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must wr... 2024-11-09 medium