码迷,mamicode.com
首页 >  
搜索关键字:like    ( 7615个结果
【LeetCode】【Python题解】Best Time to Buy and Sell Stock II
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy on...
分类:编程语言   时间:2014-07-24 10:25:36    阅读次数:227
[leetcode]ZigZag Conversion
ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern i...
分类:其他好文   时间:2014-07-24 09:51:13    阅读次数:244
C++学习笔记12-模板1
1.  函数模板 函数模板是一个独立于类型的函数,可作为一种方式,产生函数的特定类型版本。   // implement strcmp-like generic compare function  // returns 0 if thevalues are equal, 1 if v1 is larger, -1 if v1 is smaller  template typename...
分类:编程语言   时间:2014-07-23 21:00:05    阅读次数:279
Message Flood --set相关操作
Message Flood Time Limit: 1500ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 Well, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and ...
分类:其他好文   时间:2014-07-23 17:19:52    阅读次数:251
七、oracle 表查询二
1、使用逻辑操作符号问题:查询工资高于500或者是岗位为manager的雇员,同时还要满足他们的姓名首字母为大写的J?select * from emp where (sal > 500 or job = 'MANAGER') and ename like 'J%'; ...
分类:数据库   时间:2014-07-23 16:52:01    阅读次数:367
Mysql事件的创建和使用
1、查看事件是否开启SHOW VARIABLES LIKE 'event_scheduler';2、开启事件SET GLOBAL event_scheduler = ON; 3、创建事件DELIMITER $$-- SET GLOBAL event_scheduler = ON$$ -- r...
分类:数据库   时间:2014-07-23 14:50:46    阅读次数:244
JavaScript Patterns 6.7 Borrowing Methods
You want to use just the methods you like, without inheriting all the other methods that you’ll never need. This is possible with the borrowing method...
分类:编程语言   时间:2014-07-22 22:41:33    阅读次数:291
根据字段名称查找所在的表名
SELECT nameFROM sys.sysobjects SOWHERE EXISTS( SELECT * FROM syscolumns SC WHERE name LIKE 'Reason' AND SC.id = SO.id)
分类:其他好文   时间:2014-07-22 00:21:37    阅读次数:254
再看《阿甘正传》
?? Life is like a box of chocolates. You never know what you are gonnaget. (人生就像一盒巧克力,你永远不知道自己接下来会遇到什么。)每当我遇到困惑的时候,我总会想起电影《阿甘正传》中阿甘奔跑的每个场景,然后我把自己当成阿甘,开始不断的奔跑。 假期里无事,一日突然想起阿甘,于是我又认真地观看了一...
分类:其他好文   时间:2014-07-21 22:24:27    阅读次数:363
LeetCode——Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit st...
分类:其他好文   时间:2014-07-21 16:44:12    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!