Apr 18, 2026
Given an m x n binary matrix filled with '0's and '1's, find the largest square containing only '1's and return its area.
leetcodemediumdynamic-programming
Apr 17, 2026
Given an array of integers citations where citations[i] is the number of citations a researcher received for their i-th paper, return the researcher’s h-index.
leetcodemediumsorting
Apr 16, 2026
Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list from position left to position right...
leetcodemediumlinked-list
Apr 15, 2026
You are given two linked lists: list1 and list2 of sizes n and m respectively. Remove list1’s nodes from the a-th node to the b-th node (0-indexed), and put list2...
leetcodemediumlinked-list
Apr 14, 2026
[Medium] 143. Reorder List
leetcodemediumlinked-listtwo-pointers
Apr 13, 2026
You are given an array of events where events[i] = [startDay, endDay]. You can attend an event on any single day in the range [startDay, endDay]. You can only attend...
leetcodemediumgreedyheap
Apr 12, 2026
Given an integer n, return a list of all possible full binary trees with n nodes. Each node has value 0. A full binary tree is a tree where every...
leetcodemediumtreerecursionmemoization
Apr 11, 2026
Given an array nums, find two indices i and j (i != j) such that the digit sum of nums[i] equals the digit sum of nums[j], and return the maximum...
leetcodemediumhash-maparray
Apr 10, 2026
You are given a list of tasks to complete in order. Each day you can complete one task. After completing a task of type t, you must wait at least...
leetcodemediumhash-mapsimulation
Apr 9, 2026
[Medium] 223. Rectangle Area
leetcodemediummathgeometry