陈宫的头像 ID: 46674186601

陈宫

HelloWorld 社区成员

7127068254

文章2
个人网站0
加入社区2025

算法和数据结构-动态规划

packagedynamic//比如说输入nums10,9,2,5,3,7,101,18,其中最长的递增子序列是2,3,7,101,所以算法的输出应该是4。funclengthOfLIS(numsint)int{<pre<codem:len(nums

npm命令记录

npm查看全局安装过的包<pre<codenpmlistgdepth0</code</pre查看版本<pre<codenpmv</code</pre模块包操作a、本地安装(install可缩写i):<pre<co