分类:C++
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 […]
题目描述:给定两个字符串A、B,求出两个字符串的最长公共子串和最长公共子序列。 解析:这两个题目很容易混淆,解 […]
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 […]