problem:https://leetcode.com/problems/distinct-subsequences/
tips:
== 和= ,不要误写,这个错误很容易发生但是很难发现。
递归的时候将已经得到的结果记录,可以大大缩短时间。
两步一跳可能发生错误。
problem:https://leetcode.com/problems/distinct-subsequences/
tips:
== 和= ,不要误写,这个错误很容易发生但是很难发现。
递归的时候将已经得到的结果记录,可以大大缩短时间。
两步一跳可能发生错误。