- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 leetcode第3个算法题目
这是leetcode第3个算法题目,当时看到这个题目,心里就有思路了,感觉很简单,大概就是把每一个没有重复的字符串拿出来,比一比哪个最长,对了,题目如下。 Given a string, find the length of the longest substring without repeating characters. Examples:Given “abcabcbb”, the ans
2017-07-29 22:57:32
191
原创 LeetCode 第2题
第2题拖了好久,原因一就是第一遍没做对,原因二就是懒。今天正好有状态,麻利的就写出来了。 public ListNode addTwoNumbers(ListNode l1, ListNode l2) { ListNode list = new ListNode(0); ListNode head = list; boolean ten = false;
2017-07-27 21:56:59
213
原创 师父终于给派了个任务。echarts相关
今天师父终于给派了任务。如下图:这是用echart插件做的,可以在官网看到这个demo,五条折线,分别代表五组数据。当鼠标移动到其中一条折线的一个拐点时,会显示出五组数据的详细值。师父要求只有一条折线图,然后,显示出自定义内容。本菜鸟一听到要求很懵逼,第一次接触echarts,完全不知道从哪里入手。没办法,师父给的任务,慢慢看代码吧。然后,我弄了一整天,终于给搞出来了。下面贴代
2017-07-24 19:38:14
292
原创 今天刚刚开通博客。LeetCode--1
争取每天一道LeetCode吧。题目:Given an array of integers, return indices of the two numbers such that they add up to a specific target.例子:Given nums = [2, 7, 11, 15], target = 9,Because nums[0] + nums[
2017-07-17 22:44:00
158
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人