上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 156 下一页

2015年4月30日

leetcode 205 Isomorphic Strings

摘要: Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All oc... 阅读全文

posted @ 2015-04-30 14:26 吴一达 阅读(163) 评论(0) 推荐(0)

2015年4月29日

leetcode 70 Climbing Stairs

摘要:  Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 o... 阅读全文

posted @ 2015-04-29 17:46 吴一达 阅读(141) 评论(0) 推荐(0)

leetcode 202 Happy Number

摘要: Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive in... 阅读全文

posted @ 2015-04-29 17:06 吴一达 阅读(134) 评论(0) 推荐(0)

Shell学习笔记

摘要: #!/bin/bash# Author:undoner# Copyright (c) undoner# Test Code# -----------------------------------------------------------------#标准输入输出echo "What is ... 阅读全文

posted @ 2015-04-29 15:59 吴一达 阅读(128) 评论(0) 推荐(0)

leetcode 203 Remove Linked List Elements

摘要:  Remove all elements from a linked list of integers that have valueval. Example Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6 Return: 1 --... 阅读全文

posted @ 2015-04-29 15:01 吴一达 阅读(156) 评论(0) 推荐(0)

2015年4月28日

leetcode 204题求素数个数

摘要: Description: Count the number of prime numbers less than a non-negative number, n 提示晒数法: http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes... 阅读全文

posted @ 2015-04-28 22:20 吴一达 阅读(113) 评论(0) 推荐(0)

2015年4月27日

js中return false,return,return true的用法及区别

摘要: 首先return作为返回关键字,他有以下两种返回方式 1.返回控制与函数结果 语法为:return 表达式; 语句结束函数执行,返回调用函数,而且把表达式的值作为函数的结果 2.返回控制无函数结果 语法为:return;在大多数情况下,为事件处理函数返回false,可以防止默认的事件行为.例如... 阅读全文

posted @ 2015-04-27 22:07 吴一达 阅读(214) 评论(0) 推荐(0)

2015年4月26日

OpenCV stereo matching BM 算法

摘要: 一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看: Basically OpenCV provides 2 methods to calculate a dense disparity map: cvFi... 阅读全文

posted @ 2015-04-26 11:39 吴一达 阅读(312) 评论(0) 推荐(0)

2015年4月24日

MySQL数据库update更新子查询

摘要: 比如:UPDATE test.tb_vobile a set a.name = '111 'WHEREa.id = (select max(id) id from test.tb_vobile) 报错:[SQL]UPDATE test.tb_vobile a set a.name = '111 '... 阅读全文

posted @ 2015-04-24 18:00 吴一达 阅读(1212) 评论(0) 推荐(0)

python面向对象小练习

摘要: 就是几个动物,自动排列生成什么的 class Animal(object): def __init__(self,name,weight): self.name = name self.weight = weight def eat(self): self.weight +=1 ... 阅读全文

posted @ 2015-04-24 14:34 吴一达 阅读(250) 评论(0) 推荐(0)

上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 156 下一页

导航