摘要:
// language C with STL(C++) // 剑指62 // https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/ class Solution { public: int 阅读全文
摘要:
// language c // 剑指33 // https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof/ bool verifyPostorder(int* postorder, int p 阅读全文
摘要:
// language c // 剑指32-I // https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/ /** * Definition for a binary tree node. * stru 阅读全文
摘要:
// language c // 剑指64 // https://leetcode-cn.com/problems/qiu-12n-lcof/ int sumNums(int n){ int ans = n; (n) &&(ans +=sumNums(n-1)); return ans; } 阅读全文
摘要:
// language c // 剑指60 // https://leetcode-cn.com/problems/nge-tou-zi-de-dian-shu-lcof/ /** * Note: The returned array must be malloced, assume caller 阅读全文
摘要:
// language c // 剑指04 // https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/ bool findNumberIn2DArray(int** matrix, int matrixSize, 阅读全文