码迷,mamicode.com
首页 >  
搜索关键字:easy    ( 5384个结果
leetcode1144
这是一道数组问题,没什么特殊的算法思想,只是基本的逻辑处理。 比赛的时候鼓捣了90分钟,最终也没有AC,本次比赛以0分完美收场。 开始感觉是一道Easy题目,应该比较快的能解决,但是写了2次都不对,就开始发蒙了。 脑子一片空白一直持续到12点比赛结束,然后突然感觉清醒了,几分钟就写出来了。 客观评价 ...
分类:其他好文   时间:2019-08-04 13:46:47    阅读次数:74
(Easy) House Robber LeetCode
class Solution { public int rob(int[] nums) { if(nums.lengthb? a: b; } } ...
分类:其他好文   时间:2019-08-02 13:24:18    阅读次数:83
(Easy) Last Stone Weight LeetCode
class Solution { public int lastStoneWeight(int[] stones) { int len = stones.length; int i = len -1; int minus = 0; int remain = len; if(s... ...
分类:其他好文   时间:2019-07-31 19:02:23    阅读次数:107
(Easy) To Lower Case LeetCode
Description Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Input: "Hello" Outp ...
分类:其他好文   时间:2019-07-30 23:18:44    阅读次数:104
Codeforces Round #575 (Div. 3) D1. RGB Substring (easy version)
Codeforces Round #575 (Div. 3) D1 - RGB Substring (easy version) The only difference between easy and hard versions is the size of the input. You are ...
分类:其他好文   时间:2019-07-30 18:41:57    阅读次数:123
使用vue3.0和element实现后台管理模板
通过自己所学的这段时间,利用空余时间,使用vue3.0脚手架搭建的一个关于后台的管理模板,所实现功能也是模仿一个后台的界面,数据分为两种存放,一种是直接存储到mlab,这里的数据是存放这登录注册,只有注册了自己的账号才能访问到页面,另一些数据直接存放在easy-mock里, 源码地址:https:/ ...
分类:其他好文   时间:2019-07-29 23:08:29    阅读次数:510
LeetCode.1108-使IP地址无效(Defanging an IP Address)
这是小川的第 393 次更新,第 426 篇原创 01 看题和准备 今天介绍的是 LeetCode 算法题中 Easy 级别的第 257 题(顺位题号是 1108 )。给定有效(IPv4)IP地址,返回该IP地址的无效版本。 一个无效的IP地址,是指用 取代每个点号 。 例如: 输入:address ...
分类:其他好文   时间:2019-07-29 10:13:21    阅读次数:93
LeetCode.1103-向人们分发糖果(Distribute Candies to People)
这是小川的第 393 次更新,第 425 篇原创 01 看题和准备 今天介绍的是 LeetCode 算法题中 Easy 级别的第 256 题(顺位题号是 1103 )。我们通过以下方式向一排 个人分发一些糖果: 给第一个人送1个糖果,给第二个人送2个糖果,依此类推,直到我们给最后一个人送糖果。然后, ...
分类:其他好文   时间:2019-07-27 09:42:02    阅读次数:89
【Leetcode_easy】925. Long Pressed Name
problem 925. Long Pressed Name 参考 1. Leetcode_easy_925. Long Pressed Name; 完 ...
分类:其他好文   时间:2019-07-26 19:51:55    阅读次数:110
【Leetcode_easy】872. Leaf-Similar Trees
problem 872. Leaf-Similar Trees 参考 1. Leetcode_easy_872. Leaf-Similar Trees; 完 ...
分类:其他好文   时间:2019-07-26 19:51:02    阅读次数:102
5384条   上一页 1 ... 58 59 60 61 62 ... 539 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!