自定义博客皮肤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)
  • 资源 (18)
  • 收藏
  • 关注

原创 斐波那契数的数学封闭式表示

斐波那契数列的数学封闭式表示

2017-09-21 11:28:26 888

原创 求最大子序列的乘积

最大子序列的乘积,两种方法:1.方法一的时间复杂度为O(n^2),这个方法是通过循环遍历所有的子序列。public static int maxSubMulti(int[] a){ int maxsub = 0; int minsub = 0; for(int i = 0 ; i < a.length ; i++){ int te

2017-09-18 23:21:54 757

原创 生成前N个整数的一个随机置换java实现

这个问题数据结构与算法分析java语言描述版,第二章的2.8课后习题的。下面我的三种不同的实现:随机数生成函数 public static int randInt(int i, int j) { int temp = (int) (Math.random() * j + i); return temp; }1.时间复杂度为O(n^2) public

2017-09-15 16:48:44 679

原创 求最小正序列的和java实现

1.时间复杂度是O(n^2)public static int minPosSubSum(int[] a) { int thissum = 0; int minsum = 0; for(int i = 0 ; i < a.length ; i++){ if(a[i] > 0){ minsum =

2017-09-15 16:36:23 364 1

原创 求两个数的公因数的两种方法java实现

1.方法一是,循环取余计算 public static int gcd(int a,int b){ while(b != 0){ int temp = a % b; a = b; b = temp; } return a; }2.方法二,递归实现。 public s

2017-09-15 16:05:32 4972 1

原创 最大子序列和的四种不同复杂度实现

1.最差的时间复杂度实现O(n^3)public static int worst(int [] a){ int maxSum = 0; for(int i = 0 ; i < a.length ; i++){ for(int j = i ; j < a.length ; j++){ int thissum = 0;

2017-09-15 15:59:43 359

原创 TwoSum--python

1.TowSum 问题描述: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you

2017-09-05 12:53:21 270

原创 Non-decreasing Array

问题描述:Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element.We define an array is non-decreasing if array[i] <= array[i + 1] holds for ev

2017-09-03 12:21:11 298

原创 距离和相似度计算总结

闵可夫斯基距离Minkowsli: P=(x1,x2,...,xn)andQ=(y1,y2,...,yn)∈RnP = (x_1,x_2,...,x_n) \,\, and\,\,Q=(y_1,y_2,...,y_n) \in \Bbb R^n 是衡量数值点之间距离的一种非常常见的方法,假设数值点PP和QQ坐标如上:那么,闵可夫斯基距离定义为: dist(X,Y)=(∑

2017-09-03 00:29:08 1594

Data Structure Visualizations.zip

通过爬虫爬取非常著名的Data Structure Visualizations学习网页.离线保存网页.方便本地学习使用不用网络加载.快速体验数据结构可视化.

2019-12-03

hadoop的三驾马车谷歌论文中文版(全)

谷歌大数据三篇论文,hadoop的三驾马车。Bigtabe, File System,MarpReduce

2018-04-06

Taylor展开式与拟牛顿

七月在线中数学学习课件ppt

2017-07-19

Android OpenGL ES 2.0 2D/3D 游戏开发电子书下载

OpenGL ES 2.0应用开发实践指南-Android卷。非常实用的OpenGL ES Android游戏开发指南。

2016-05-13

apktool反编译

Android反编译,能反编译dex文件,资源文件。命令行操作 apktool d filename

2014-09-19

测绘屏幕xy坐标

能测量屏幕任何点x y的值,不要计算点的位置,量一量就知道

2014-09-18

尺寸开发利器

可以测量屏幕,图片的大小,精确到像素。能横竖测量,操作简便,小巧灵活。

2014-09-18

经典颜色识别器

多功能的颜色拾取器,支持电脑屏幕上取色,电脑系统上获取颜色,能自定义颜色。是开发的利器。有了这,你不再为颜色担心了。

2014-09-18

屏幕测绘工具

测量开发,准确,操作简单,测量屏幕的大小,控件的长宽。

2014-09-18

android资源

很全,很有用的Android开发书,资源汇总,总有你需要的。

2014-09-17

Android 帮助开发,详细分析过程包

Android 开发 工具 简化代码 敏捷开发

2014-09-15

android 开发帮助文档

该为android开发中文文档,里面资料非常详细,最最好的是是中文的 ,欢迎童鞋下载下载学习

2014-08-13

改变未来的九大算法

我们每天都在做多次搜索查询,但我们极少会停下来思考这个令人惊叹的工具是怎么凑效的。

2014-04-28

空空如也

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

TA关注的人

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