摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12616154.html 有效的括号(45min) 题目链接:https://leetcode-cn.com/problems/valid-parentheses/ 给定一个只包括 '(',')','{',' 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12604536.html 排序数组(38min) 题目链接:https://leetcode-cn.com/problems/sort-an-array/ 给你一个整数数组 nums,请你将该数组升序排列。 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12600715.html 圆圈中最后剩下的数字(65min) 题目链接:https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-d 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12594549.html 字符串压缩(150min) 题目链接:https://leetcode-cn.com/problems/compress-string-lcci/ 字符串压缩。利用字符重复出现的次数 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12588713.html 单词的压缩编码(105min) 题目链接:https://leetcode-cn.com/problems/short-encoding-of-words/ 给定一个单词列表,我们将 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12580620.html 卡牌分组(48min) 题目链接:https://leetcode-cn.com/problems/x-of-a-kind-in-a-deck-of-cards/solution/q 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12576257.html 车的可用捕获量(105min) 题目链接:https://leetcode-cn.com/problems/available-captures-for-rook/ 在一个 8 x 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12569009.html 三维形体的表面积(93min) 题目链接:https://leetcode-cn.com/problems/surface-area-of-3d-shapes/solution/li 阅读全文
摘要:
1.与运算符&和&& 如果使用“&&”时,当“&&”左侧的表达式结果为false,就不在计算其右侧的表达式,而是直接返回运算结果false. 如果使用“&”时,不管“&”运算符左侧的运算符结果是什么,都计算其右侧的表达式,再返回整个逻辑表达式的值。 2.或运算符||和| 如果使用“||”时,当“|| 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12560797.html 1.打家劫舍(56min) 题目链接:https://leetcode-cn.com/problems/house-robber/ 你是一个专业的小偷,计划偷窃沿街的房屋。每间房内都 阅读全文