自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 leetcode 51. N-Queens

//The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.//Given an integer n, return all distinct solutions to the n-queens puzzle.//E

2016-07-29 11:02:31 225

原创 leetcode 50. Pow(x,n)

//Implement pow(x, n).public class Solution { public static double myPow(double x, int n) { if(n<0){ x = 1/x; n = -n; } double result = power(x,n);

2016-07-28 15:45:03 319

原创 leetcode 49. Group Anagrams

//Given an array of strings, group anagrams together.////For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], //Return:////[// ["ate", "eat","tea"],// ["nat","tan"],// ["bat"]//

2016-07-26 15:43:26 202

原创 leetcode 48. Rotate Image

//You are given an n x n 2D matrix representing an image.////Rotate the image by 90 degrees (clockwise).////Follow up://Could you do this in-place?public class Solution { public static void

2016-07-22 11:29:35 158

原创 leetcode 47. Permutations II

import java.lang.reflect.Array;import java.util.ArrayList;import java.util.Arrays;import java.util.List;///Given a collection of numbers that might contain duplicates, return all possible unique

2016-07-22 10:52:57 267

原创 leetcode 46. Permutations

import java.util.ArrayList;import java.util.List;//Given a collection of distinct numbers, return all possible permutations.////For example,//[1,2,3] have the following permutations://[// [1,

2016-07-20 17:00:47 232

原创 leetcode 45. Jump Game II

//Given an array of non-negative integers, you are initially positioned at the first index of the array.//Each element in the array represents your maximum jump length at that position.//Your goal i

2016-07-20 16:16:59 251

原创 leetcode 43. Multiply Strings

//Given two numbers represented as strings, return multiplication of the numbers as a string.////Note://The numbers can be arbitrarily large and are non-negative.//Converting the input string to i

2016-07-14 10:58:01 204

原创 leetcode 42. Trapping Rain Water

//Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.//For example, //Given [0,1,0,2,1,0,1,3,2,1,2

2016-07-08 15:20:20 187

转载 iOS开发:Swift语言使用iconfont

iconfont极大地方便了我们应用的开发,一些小图标可以做成iconfont,生成一个iconfont.ttf的字体,使用时项目里不再需要多种不同分辨率的图标,只需要将Android TextView或iOS UILabel的字体设成iconfont,即可显示图标。Android设置字体的方法以前介绍过,这里不再写。1、将生成的iconfont.ttf拖进项目里。生成iconfont可借

2016-07-07 19:23:22 484

python 2.7.13 + numpy对应版本

python 2.7.13及numpy函数类库对应版本,直接双击安装即可

2017-05-20

空空如也

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

TA关注的人

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