LeetCode
LeetCode copied to clipboard
字节数字大小的估算
2^10 = 1024 10^3 = 1000 1个int = 4个字节 32位,去掉一位符号位,31位,2^31 = 2*(2^30) ≈ 2 * (10^9)