diff --git a/posts/algorithms/leetcode-daily.html b/posts/algorithms/leetcode-daily.html index 0a571a5..6c70b00 100644 --- a/posts/algorithms/leetcode-daily.html +++ b/posts/algorithms/leetcode-daily.html @@ -166,7 +166,7 @@ because \(log_2(x)\) is not available in python.
  • - It's certainly possible that \(max(nums, k)=0\). To avoid + It's certainly possible that \(max\{nums, k\}=0\). To avoid the invalid calculation \(log(0)\), take the larger of \(1\) and this calculation. The number of digits will then (correctly) be \(1\) in this special case.