摘要:
// language c // 剑指56-I // https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/ // 通过了,但是肯定能优化,需要用到亦或,不太懂 /** * Note: The ret 阅读全文
摘要:
// language c // 剑指13 // https://leetcode-cn.com/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/comments/ int movingCount(int m, int n, int k){ // 先整一个算数 阅读全文
摘要:
// language c // 剑指66 // https://leetcode-cn.com/problems/gou-jian-cheng-ji-shu-zu-lcof/ /** * Note: The returned array must be malloced, assume calle 阅读全文
摘要:
// language c // 剑指31 // https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof/ bool validateStackSequences(int* pushed, int pushedSize, 阅读全文
摘要:
// language c // 剑指26 // https://leetcode-cn.com/problems/shu-de-zi-jie-gou-lcof/ // 绕了半天才搞出来,由于本人c基础薄弱,只能想出用链表来动态存储地址的低效存储方案,以后没事干可优化 /** * Definitio 阅读全文
摘要:
// language c // 剑指47 // https://leetcode-cn.com/problems/li-wu-de-zui-da-jie-zhi-lcof/ // 用递归的方法做 int maxValue(int** grid, int gridSize, int* gridCol 阅读全文