Jan 19, 2026
Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must be unique and you may return the result in any order....
leetcodeeasyarrayhash-table
Jan 19, 2026
Given the root of a binary tree, invert the tree, and return its root.
leetcodeeasytreedfs
Jan 19, 2026
You are given an array of strings words and a string pref.
leetcodeeasystringarray
Jan 19, 2026
Given a string s, return the length of the longest substring between two equal characters, excluding the two equal characters themselves. If no such substring exists, return -1.
leetcodeeasystringhash-table
Jan 19, 2026
Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values along the path...
leetcodeeasytreedfs
Jan 19, 2026
Given a binary tree, find its minimum depth.
leetcodeeasytreedfs
Jan 19, 2026
Given the root of a binary tree, return its maximum depth — the number of nodes along the longest path from the root down to the farthest leaf.
leetcodeeasytreedfs
Jan 19, 2026
Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).
leetcodeeasytreedfs
Jan 19, 2026
Given the roots of two binary trees p and q, write a function to check if they are the same or not.
leetcodeeasytreedfs
Jan 19, 2026
Design a data structure that supports adding new words and finding if a string matches any previously added string.
leetcodemediumstringdesigntrie