码迷,mamicode.com
首页 >  
搜索关键字:find peak element    ( 34692个结果
浏览器兼容性小记-DOM篇(二)
1、DOM中的所有节点都继承自Node类型,IE9之前将DOM节点作为COM对象来实现;每个DOM节点都有一个nodeType属性来表明节点类型,总共有12个类型: 1 Node.ELEMENT_NODE 2 Node.ATTRIBUTE_NODE 3 Node.TEXT_NODE 4 Node.C...
分类:其他好文   时间:2014-05-20 00:53:25    阅读次数:297
/usr/bin/ld: cannot find -lxxx 问题 解决方法总结
最近在做毕设的收尾工作,很多程序都要部署到linux下来运行,遇到了挺多问题,昨天就集中性遇到了 在编译应用时,遇到了/usr/bin/ld: cannot find -lxxx这种情况是系统找不到对应的库文件,其中,-lxxx表示链接库文件 libxxx.so。其命名规则是:lib+库名(即xxx...
分类:其他好文   时间:2014-05-19 21:30:52    阅读次数:226
two sum
Question 1:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of...
分类:其他好文   时间:2014-05-19 09:35:41    阅读次数:321
修改及查看mysql数据库的字符集
修改及查看mysql数据库的字符集Liunx下修改MySQL字符集:1.查找MySQL的cnf文件的位置find/-iname‘*.cnf‘-print/usr/share/mysql/my-innodb-heavy-4G.cnf/usr/share/mysql/my-large.cnf/usr/share/mysql/my-small.cnf/usr/share/mysql/my-medium.cnf/usr/share/mysql/my-huge.cn..
分类:数据库   时间:2014-05-16 02:33:28    阅读次数:426
unity3d关于怎样动态改变物体 shader
material=newMaterial(Shader.Find("Custom/Alpha"));material.SetFloat("_Shininess",materialAlpha);voidOnRenderImage(RenderTexturesource,RenderTexturedestination){Graphics.Blit(source,destination,material);}
分类:其他好文   时间:2014-05-16 02:28:04    阅读次数:572
Best Time to Buy and Sell Stock I && II && III
题目1:Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie,...
分类:其他好文   时间:2014-05-16 01:46:15    阅读次数:460
[LeetCode]3Sum
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero....
分类:其他好文   时间:2014-05-16 01:34:36    阅读次数:293
LeetCode 011 Container With Most Water
【题目】 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:其他好文   时间:2014-05-16 01:32:47    阅读次数:406
Radar之字节流加载图片
获取GUITextureGameObject _obj = GameObject.Find("Tex1");GUITexture _tex = _obj.GetComponent();加载图片字节流//读取文件到byte数组byte[] bytes = System.IO.File.ReadAllB...
分类:其他好文   时间:2014-05-16 01:07:48    阅读次数:242
开始在这里记录在jd的点滴成长~~~
开始在这里记录在jd的点滴成长~~~3月20日入职,距离今天两个月还差5天,不过这段时间完成的东西还真不少,学习了很多的linux命令和Axure产品设计,比如:awk神器、sed、sort、head、tail、find、xargs、grep等等,收获很大~~~其中到今天为止已经完成了一个功能非常强...
分类:其他好文   时间:2014-05-16 01:03:10    阅读次数:314
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!