diff --git a/content/posts/leetcode.md b/content/posts/leetcode.md index 6f359f1..ef12ec1 100644 --- a/content/posts/leetcode.md +++ b/content/posts/leetcode.md @@ -569,3 +569,84 @@ func minimumLength(s string) int { ### 总结 本题值得注意的地方在于for循环中条件的设置, 可能会忽略与运算符两侧条件表达式的前后顺序, 但由于短路机制的存在, 与运算符两侧表达式的前后顺序有时非常重要, 例如在本题中, 如果将forward