自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 LeetCode题解(Week 9):486. Predict the Winner

原题目:Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and then player 1 and so on. Each time a player pick

2017-04-29 23:38:35 281

原创 Ubuntu 14.04 64位下Matlab 2015的安装

最近需要用到Ubuntu下的MATLAB,对此进行了安装,于是在这里记录下安装过程。 系统 Ubuntu 14.04 64位 MATLAB版本Matlab 2015B 安装过程: 1. 下载MATLAB 2. 安装 (1) 挂载ISO镜像文件:$ sudo mkdir /media/matlab $ sudo mount -o loop R2015b_glnxa64.iso /media/ma

2017-04-19 21:28:35 779

原创 LeetCode题解(Week 8):403. Frog Jump

原题目A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but it must not jump into the water.Given a list of s

2017-04-19 10:45:32 449

原创 Ubuntu 14.04 安装Google Chrome

在一些特别的网页版应用,比如有道云笔记的时候,用Ubuntu自带的Firefox浏览器会出现问题,这个时候我们可以通过安装Chrome来解决,方法如下: 通过官网下载chrome的deb包 通过–force的方式强烈安装: sudo dpkg -i google-chrome-stable_current_amd64.deb --force这个时候还是会报错,但是不用管 3. 通过sudo apt

2017-04-18 11:52:41 712

原创 LeetCode 题解(Week 8): 523. Continuous Subarray Sum

原题目:Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that sums up to the multiple of k, that is, sums up

2017-04-17 23:18:01 424

原创 Leetcode题解(Week 7):322. Coin Change

原题目You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of mone

2017-04-15 22:32:45 302

原创 LeetCode 题解(Week6):300. Longest Increasing Subsequence

原题目Given an unsorted array of integers, find the length of longest increasing subsequence.For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest increasing subsequence is [2, 3, 7, 101], theref

2017-04-06 10:11:07 300

原创 Windows Python 机器学习环境搭建

Python是机器学习的一大利器(numpy matplotlib scipy等丰富的包屡试不爽呀!)下面记录了我在Windows下安装Python以及相应的包的步骤。Python本身https://www.python.org/downloads/windows/ 我选择的是Python 2.7进行下载,安装,注意的是在安装的时候,要按照提示,安装PIP,以及将Python加到path环境变量中n

2017-04-05 21:45:40 601

原创 LeetCode题解(Week 5) 452. Minimum Number of Arrows to Burst Balloons

原题目There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the horizontal diameter. Since it’s horizontal, y-coord

2017-04-01 20:47:26 542

空空如也

空空如也

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

TA关注的人

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