分类:LeetCode
Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ […]
Count the number of prime numbers less than a non-negat […]
Given an integer n, return the number of trailing […]
Say you have an array prices for which the&n […]
Say you have an array for which the ith eleme […]
Given n points on a 2D plane, find the maximu […]
Given an integer matrix, find the length of the longest […]
Implement a trie with insert, search, and startsWith me […]
Given a binary tree, check whether it is a mirror of it […]
You are given coins of different denominations and a to […]
Given an unsorted array of integers, find the length of […]
Given a positive integer n, find the least number of pe […]
You are a professional robber planning to rob houses al […]
Given a non-empty binary tree, find the maxim […]
Find the length of the longest substring T of […]