Zilong Zhou
Zilong Zhou
dp也可以表达 S[i...] 和 P[j...] 是否匹配。 ```cpp bool dp(string &s, int i, string &p, int j, int memo[20][30]){ // match if(i == s.length() && j == p.length()){ return true; } //...
这里的 memo 应该不需要二维数组,就类似于斐波那契数列那种感觉,memo[i] 可以表示为节点数为 i 的 BST 的数量。 这样做的理由是: 当计算节点数为 n 的 BST 时进行左右子数划分的时候,我们在乎的只是相对大小,并只需要考虑有多少个数即可。
我个人感觉第二题不太能memo,如果最后需要各个树节点不共用的话
vue3-apexcharts works well with nuxt3 in my case.
> @zhouzilong2020 - can you share how you implemented it? I did exact the same thing as you did. lol BTW, Glad to hear that you figure it out, it...
> Now, I try to use [vite-plugin-dynamic-import](https://www.npmjs.com/package/vite-plugin-dynamic-import) to resolve this problem. But in the end, I hope it can be integrated into vite. > > ```js > import { defineNuxtConfig...
Try to boot with riscv64-unknown-elf-gcc (g2ee5e430018-dirty) 12.2.0 QEMU emulator version 7.2.0 and met the same problem.
> Now, I try to use [vite-plugin-dynamic-import](https://www.npmjs.com/package/vite-plugin-dynamic-import) to resolve this problem. But in the end, I hope it can be integrated into vite. > > ```js > import { defineNuxtConfig...
Since each dinode has 64 bytes right now, and there are 13 blocks for inode on disk, xv6 chould at most have 208 inode. To make the data type of...