Jan 10, 2026
Given a m x n grid filled with non-negative numbers, find a path from top-left to bottom-right, which minimizes the sum of all numbers along its path.
leetcodemediumarraydynamic-programmingmatrix
Jan 10, 2026
Given an array of integers arr and an integer d. In one step you can jump from index i to index:
leetcodehardarraydynamic-programmingdfsmemoization
Jan 9, 2026
Given an integer array nums, return the number of longest increasing subsequences.
leetcodemediumarraydynamic-programming
Jan 8, 2026
Given an array of strings words and an integer k, return the k most frequent strings.
leetcodemediumhash-tableheapsortingstring
Jan 8, 2026
Given a string s, return the longest palindromic substring in s.
leetcodemediumstringtwo-pointersdynamic-programming
Jan 7, 2026
Given an n-ary tree, return the level order traversal of its nodes’ values.
leetcodemediumtreebfsn-ary-tree
Jan 7, 2026
You have a graph of n nodes labeled from 0 to n - 1. You are given an integer n and an array edges where edges[i] = [ai, bi] indicates...
leetcodemediumgraphbfsdfsunion-find
Jan 7, 2026
Given the root of a binary tree, return the level order traversal of its nodes’ values. (i.e., from left to right, level by level).
leetcodemediumtreebfsbinary-tree
Jan 7, 2026
Given the root of a binary tree with unique values and the values of two different nodes of the tree x and y, return true if the nodes corresponding to...
leetcodeeasytreebfsbinary-tree
Jan 6, 2026
Given the root of a binary tree, return the zigzag level order traversal of its nodes’ values. (i.e., from left to right, then right to left for the next level...
leetcodemediumtreebfsbinary-tree