自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

从入门到扑街

慢慢爬坑中

  • 博客(12)
  • 收藏
  • 关注

原创 [LeetCode] 337. House Robber III

题目链接: https://leetcode.com/problems/house-robber-iii/description/DescriptionThe thief has found himself a new place for his thievery again. There is only one entrance to this area, called the “root.”

2017-11-29 10:56:29 597

原创 [Ubuntu] 修改键位 — ctrl 和 caps lock 互换

环境Ubuntu 16.04步骤$ sudo vim /usr/share/X11/xkb/keycodes/evdev搜索 <CAPS> 和 <LCTL>,交换等号后面的数字 ... <CAPS> = 37; ... <LCTL> = 66;注销,重新登录以生效。

2017-11-28 00:36:58 5201

原创 [LeetCode] 503. Next Greater Element II

题目链接: https://leetcode.com/problems/next-greater-element-ii/description/DescriptionGiven a circular array (the next element of the last element is the first element of the array), print the Next Great

2017-11-27 23:52:34 327

原创 [LeetCode] 496. Next Greater Element I

题目链接: https://leetcode.com/problems/next-greater-element-i/description/DescriptionYou are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the

2017-11-26 11:01:23 359

原创 [LeetCode] 207. Course Schedule

题目链接: https://leetcode.com/problems/course-schedule/description/DescriptionThere are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to

2017-11-24 10:40:35 299

原创 [LeetCode] 3. Longest Substring Without Repeating Characters

题目链接: https://leetcode.com/problems/longest-substring-without-repeating-characters/description/DescriptionGiven a string, find the length of the longest substring without repeating characters.Examples

2017-11-20 00:17:59 337

原创 [LeetCode] 475. Heaters

题目链接: https://leetcode.com/problems/heaters/description/DescriptionWinter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses.Now,

2017-11-19 23:23:19 605

原创 [LeetCode] 57. Insert Interval

题目链接: https://leetcode.com/problems/insert-interval/description/DescriptionGiven a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that t

2017-11-12 21:00:31 497

原创 [LeetCode] 34. Search for a Range

题目链接: https://leetcode.com/problems/search-for-a-range/description/DescriptionGiven an array of integers sorted in ascending order, find the starting and ending position of a given target value.Your a

2017-11-12 20:21:41 335

原创 [TensorFlow] Ubuntu 16.04 配置 tensorflow gpu 环境

参考内容 http://blog.csdn.net/u012759136/article/details/53355781 http://blog.csdn.net/zafir_410/article/details/73188228 https://devtalk.nvidia.com/default/topic/996474/linux/unable-to-load-the-n

2017-11-03 18:38:11 4026

原创 [LeetCode] 442. Find All Duplicates in an Array

题目链接: https://leetcode.com/problems/find-all-duplicates-in-an-array/description/DescriptionGiven an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear on

2017-11-01 20:22:16 292

原创 [LeetCode] 32. Longest Valid Parentheses

题目链接: https://leetcode.com/problems/longest-valid-parentheses/description/DescriptionGiven a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) paren

2017-11-01 19:37:17 276

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除