摘要:
网址:https://leetcode.com/problems/binary-prefix-divisible-by-5/ 一次for循环遍历数组,在上次计算的基础上得到本次的结果! 阅读全文
摘要:
网址:https://leetcode.com/problems/remove-outermost-parentheses/ 使用栈的思想,选择合适的判断时机 删除最外层的括号 阅读全文
摘要:
网址:https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers/ 递归调用求和,同时注意%1000000007的位置 阅读全文
摘要:
网址:https://leetcode.com/problems/camelcase-matching/ 依题意可得逻辑 阅读全文