122. Best Time to Buy and Sell Stock II-买卖股票的最佳时机 II
Say you have an array prices for which the ith element ... » 阅读全文
Say you have an array prices for which the ith element ... » 阅读全文
Given an integer rowIndex, return the rowIndex-th row o... » 阅读全文
Given a non-negative integer numRows, generate the firs... » 阅读全文
Given a binary tree and a sum, determine if the tree ha... » 阅读全文
Given a binary tree, find its minimum depth. The minimu... » 阅读全文
Given a binary tree, determine if it is height-balanced... » 阅读全文
Given an array where elements are sorted in ascending o... » 阅读全文
Given a binary tree, return the bottom-up level order t... » 阅读全文
Given the root of a binary tree, return its maximum dep... » 阅读全文