Algorithm
- 1310. 子数组异或查询 类似前缀和数组的思路,假设
accumulateXor[i]
表示arr[0…i]的accumulateXor值,那么accumulateXor[i+1] = accumulateXor[i] ^ arr[i+1]
,queries[i,j] = accumulateXor[j] ^ accumulateXor[i-1](i>0) || accumulateXor[j]
Review
Barr, Kenneth C., and Krste Asanović. “Energy-aware lossless data compression.” ACM Transactions on Computer Systems (TOCS) 24.3 (2006): 250-291. 常见无损压缩算法_技术成长ing-CSDN博客
Tips
- wsl2 默认会不断将内存作为buffer,并且不归还,容易被系统kill掉,需要配置一下其最大使用的内存量。
Share
wsl2 +vscode 搭建mysql8.0+调试环境_技术成长ing-CSDN博客
这周太忙了,又是比较水的一周。