随笔分类 -  算法学习打卡

1 2 3 4 5 ··· 10 下一页
摘要:地址:https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof/ <?php /** 字符串的左旋转操作是把字符串前面的若干个字符转移到字符串的尾部。请定义一个函数实现字符串左旋转操作的功能。比如,输入字符串"abcdefg"和 阅读全文
posted @ 2020-10-27 11:07 花花妹子。 阅读(96) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/remove-duplicate-node-lcci/ <?php /** 面试题 02.01. 移除重复节点 编写代码,移除未排序链表中的重复节点。保留最开始出现的节点。 示例1: 输入:[1, 2, 3, 3, 2, 1] 阅读全文
posted @ 2020-10-26 11:31 花花妹子。 阅读(99) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/count-negative-numbers-in-a-sorted-matrix <?php /** 给你一个 m * n 的矩阵 grid,矩阵中的元素无论是按行还是按列,都以非递增顺序排列。 请你统计并返回 grid 中 阅读全文
posted @ 2020-10-26 11:07 花花妹子。 阅读(39) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/22 阅读全文
posted @ 2020-10-22 18:03 花花妹子。 阅读(72) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/combination-sum/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/22 * Time: 上午11:47 39. 组合总和 给定一个无 阅读全文
posted @ 2020-10-22 11:48 花花妹子。 阅读(76) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/mean-of-array-after-removing-some-elements/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/22 * T 阅读全文
posted @ 2020-10-22 11:10 花花妹子。 阅读(106) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/lucky-numbers-in-a-matrix/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/21 * Time: 下午5:35 1380. 阅读全文
posted @ 2020-10-21 17:36 花花妹子。 阅读(81) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/combination-sum-iii/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/21 * Time: 下午4:54 216. 组合总和 I 阅读全文
posted @ 2020-10-21 16:55 花花妹子。 阅读(80) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/magic-index-lcci/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/21 * Time: 下午2:49 面试题 08.03. 魔术索 阅读全文
posted @ 2020-10-21 14:50 花花妹子。 阅读(65) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/water-bottles/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/21 * Time: 下午2:37 小区便利店正在促销,用 numEx 阅读全文
posted @ 2020-10-21 14:38 花花妹子。 阅读(90) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/swap-numbers-lcci/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/21 * Time: 上午10:36 面试题 16.01. 交 阅读全文
posted @ 2020-10-21 10:37 花花妹子。 阅读(73) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/subrectangle-queries/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/21 * Time: 上午9:50 1476. 子矩形查 阅读全文
posted @ 2020-10-21 09:51 花花妹子。 阅读(116) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/to-lower-case/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * Time: 下午4:52 709. 转换成小写字母 实现函数 阅读全文
posted @ 2020-10-20 16:53 花花妹子。 阅读(66) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/maximum-product-of-two-elements-in-an-array/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * 阅读全文
posted @ 2020-10-20 16:46 花花妹子。 阅读(87) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020 阅读全文
posted @ 2020-10-20 16:35 花花妹子。 阅读(90) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/robot-return-to-origin/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * Time: 下午3:55 657. 机器人 阅读全文
posted @ 2020-10-20 15:56 花花妹子。 阅读(99) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/count-good-triplets/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * Time: 下午3:46 给你一个整数数组 ar 阅读全文
posted @ 2020-10-20 15:47 花花妹子。 阅读(153) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/maximum-nesting-depth-of-the-parentheses/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * Tim 阅读全文
posted @ 2020-10-20 15:21 花花妹子。 阅读(358) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/sum-of-all-odd-length-subarrays/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * Time: 下午1:48 阅读全文
posted @ 2020-10-20 13:49 花花妹子。 阅读(133) 评论(0) 推荐(0)
摘要:地址:https://leetcode-cn.com/problems/design-parking-system/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/20 * Time: 上午11:12 1603. 设计 阅读全文
posted @ 2020-10-20 11:13 花花妹子。 阅读(217) 评论(0) 推荐(0)

1 2 3 4 5 ··· 10 下一页