码迷,mamicode.com
首页 > 2015年10月25日 > 全部分享
Handbook之013:静态数组
静态数组赋值方法如下: 代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Cont...
分类:数据库   时间:2015-10-25 06:13:19    阅读次数:259
Palindrome Linked List - LeetCode
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?思路:将链表前半部分反转,对比就行了。 1 class Solution...
分类:其他好文   时间:2015-10-25 06:11:39    阅读次数:153
Increasing/ Decreasing Stack
对于此类问题:对于元素nums[i],找出往左/右走第一个比它小/大的数字我们常常用递增栈/递减栈实现。递增栈实现第一个比它小递减栈实现第一个比它大Example: 2 1 5 6 2 3stack: 保证栈是递增的顺序,因此每个数进来之前先删除栈里比它大的数字。 因此每个数,当它被...
分类:其他好文   时间:2015-10-25 06:12:33    阅读次数:117
Rectangle Area - LeetCode
Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ...
分类:其他好文   时间:2015-10-25 06:12:34    阅读次数:196
Handbook之014:动态数组的复制
动态数组直接 := 赋值给新数组,那么这2个数组还是同一个数组,修改任意一个数组成员值,另外一个数组也跟随着变化。 如果动态数组用Copy赋值,那么则不会跟着随动变化 代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, ...
分类:数据库   时间:2015-10-25 06:10:36    阅读次数:200
Handbook之015:动态数组相加
动态数组支持直接相加,方法如下: 代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl...
分类:数据库   时间:2015-10-25 06:10:55    阅读次数:245
Find the largest multiple of 3 解答
QuestionGiven an array of non-negative integers. Find the largest multiple of 3 that can be formed from array elements.For example, if the input array...
分类:其他好文   时间:2015-10-25 06:12:04    阅读次数:257
在Javascript操作JSON对象,增加 删除 修改
转载:http://www.cnblogs.com/chenhuzi/p/javascrpt-json2-json-add-update-delete.html
分类:编程语言   时间:2015-10-25 06:12:17    阅读次数:158
git bash中带空格的文件夹以及文件的处理
空格用'\ '表示,输入的时候,是不需要单引号的total 338drwxr-xr-x 9 Administ Administ 4096 Aug 24 23:53 HDTHelperdrwxr-xr-x 1 Administ Administ 4096 Oct 25 03...
分类:其他好文   时间:2015-10-25 06:12:07    阅读次数:212
【jquery ,ajax,php】加载更多实例
jquery$(function() { //初始化 getData(0); var index = 1; $("#more").click(function() { getData(index) index = index + 1; }) var cur_page = 1; var total.....
分类:Web程序   时间:2015-10-25 06:10:47    阅读次数:264
Linux学习一些在Terminal可以用到的快捷键及Shell常用的通配符
Ctrl+c 终断程序Ctrl+d 键盘输入结束或退出终端Ctrl+s 暂定当前程序,暂停后按下任意键恢复运行Ctrl+z 将当前程序放到后台运行,恢复到前台为命令fgCtrl+a 将光标移至输入行头,相当于Home键Ctrl+e 将光标移至输入行末,相当于End键Ctrl+k 删除从...
分类:系统相关   时间:2015-10-25 06:10:48    阅读次数:236
第二次scrum meeting报告
开发周开始后的第一篇scrum。总体情况:这周初期在第一次会议之后的总分工后,进行了各个人的细致分工,前端后端各自想成员分派任务。继续各自领域的准备工作,同时开始进行开发。下面是这一周的Task统计:MemberToday’s TaskTomorrow’s Task江昊继续完善整体项目规划与成员分工...
分类:其他好文   时间:2015-10-25 06:10:50    阅读次数:242
this.IsMounted() is not a function
I'm trying to build a simple React App. It retrieves data from an ajax call and renders it to the page. The issue I'm having it setting the state of t...
分类:其他好文   时间:2015-10-25 06:10:02    阅读次数:411
第23章 mysql 监控
2015-10-25目录参考资料[1]唐汉明.深入浅出MySQL 数据库开发、优化与管理维护(第2版)[M].北京:人民邮电出版社,2014[2]Schwartz.高性能MySQL(第3版)[M].北京:电子工业出版社,2013[3]mysql常用监控脚本命令整理[4]MySQL监控应该知道的九件事...
分类:数据库   时间:2015-10-25 06:10:52    阅读次数:176
Handbook之016:Delphi开放数组
开发数组,参数用const限定词,Slice为取部分长度的数组成员。也可以直接用 [] 的方式传参 代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, ...
分类:数据库   时间:2015-10-25 06:08:53    阅读次数:334
PowerStack
int curInc;HashMap incMap;Stack stack;public SuperStack() { this.curInc = 0; this.incMap = new HashMap(); this.stack = new Stack();} p...
分类:其他好文   时间:2015-10-25 06:07:34    阅读次数:148
iOS NSNotification的使用
http://blog.csdn.net/dqjyong/article/details/7678108如果在一个类中想要执行另一个类中的方法可以使用通知1.创建一个通知对象:使用notificationWithName:object: 或者 notificationWithName:object:...
分类:移动开发   时间:2015-10-25 06:08:47    阅读次数:227
984条   上一页 1 ... 51 52 53 54 55 56 57 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!