摘要:
今天总结一下Leetcode上的两道看可以用同一解法实则不可生搬硬套的两道相似题。 1、873. 最长的斐波那契子序列的长度 - 力扣(LeetCode) (leetcode-cn.com) 本题的难点在于状态定义:与一般的dp题不同,这里我们选择将dp数组定义为:dp[i][j]表示以arr[i] 阅读全文
posted @ 2022-03-04 22:26
天涯海角寻天涯
阅读(115)
评论(0)
推荐(0)
摘要:
A thread is a basic unit of CPU utilization; it comprises a thread ID, a program counter, a register set, and a stack. It shares with other threads be 阅读全文
posted @ 2022-03-04 20:20
天涯海角寻天涯
阅读(68)
评论(0)
推荐(0)

浙公网安备 33010602011771号