摘要:
class Solution { public: TreeNode* constructMaximumBinaryTree(vector& nums) { if (nums.size() == 0) return NULL; else if (nums.size() == 1) ... 阅读全文
摘要:
class Solution { public: int maxIncreaseKeepingSkyline(vector>& grid) { //找出每一行的最大值 const int N = 50; int ROW_HEIGHT[N]; int COL_HEIGHT[N]; int MIX_HEIGHT[... 阅读全文
摘要:
class Solution { public: string reverseOnlyLetters(string S) { int len = S.length(); queue Q; stack ST; vector V; for (int i = 0; i = 97 && c = 65 && c <= ... 阅读全文
摘要:
这问题很不好。。。 阅读全文