Java学习指南
Posted on
Symbols count in article: 94k Reading time ≈ 1:25
Symbols count in article: 94k Reading time ≈ 1:25
Keep Learning
复习经典排序算法,按照面试优先级复习 :)
v3.1.0
v3.2.1
If you on tfds v3.2.0
now, you can close the GCS:
1 | # Line 40 in datasets/tensorflow_datasets/core/utils/gcs_utils.py |
v3.2.1
has fixed this bug.
More information can be found here.
第一个Rust项目,边写边学习。
尝试用Rust实现了Morris遍历算法,写出来确实有点乱七八糟,各种clone()
、unwrap()
、borrow()
,实在是辣眼睛!然后@upsuper看不下去了并给出了大量使用Iterator的优化版本:
morris_traversal.rs
在这里表示感谢!
根据牛顿莱布尼兹定律。详见分析团灭 LeetCode 股票买卖问题
总共有n
个人,每次选中并带走第m
个人,则有
f(n,m)=(f(n-1,m)+m%n)%n=(f(n-1,m)+m)%n