码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
[LeetCode]Distinct Subsequences
dp经典题题目 Given a string S and a string T, count the number of distinct subsequences of T in S....
分类:其他好文   时间:2015-02-13 18:37:37    阅读次数:167
Letter Combinations of a Phone Number
https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/Given a digit string, return all possible letter combinations that the number c...
分类:其他好文   时间:2015-02-13 18:20:16    阅读次数:119
Valid Number
判断是否数字,考虑多种情况 class Solution{ public: bool isNumber(string s){ int i = 0; while(s[i] == ' ') ++i; while(s[i] == '+' || s[i] == '-') ++i; bool exp = false, space = false, point = fa...
分类:其他好文   时间:2015-02-13 16:38:49    阅读次数:97
leetcode------Maximum Subarray
标题:Maximum Subarray通过率:34.5%难度:中等Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, ...
分类:其他好文   时间:2015-02-13 13:02:34    阅读次数:162
easyui validatebox 验证类型
required: "必选字段", remote: "请修正该字段", email: "请输入正确格式的电子邮件", url: "请输入合法的网址", date: "请输入合法的日期", dateISO: "请输入合法的日期 (ISO).", number: "请输入合法的数字", digits: ...
分类:其他好文   时间:2015-02-13 13:01:30    阅读次数:187
poj 3259 Wormholes[ bellman_ford 判负环]
Wormholes Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path that delivers you to it...
分类:其他好文   时间:2015-02-13 11:41:25    阅读次数:145
[LeetCode]Delete Digits
Given string A representative a positive integer which has N digits, remove any k digits of the number, the remaining digits are arranged according to the original order to become a new positive integer....
分类:其他好文   时间:2015-02-13 11:39:14    阅读次数:119
oracle中写存储过程2
存储过程中调用存储过程create or replace package body PF_Role_Pack is procedure sp_GetPage_Role(pageSize_ in number, --每页大小 pageIndex_ ...
分类:数据库   时间:2015-02-13 10:04:45    阅读次数:185
Leetcode:Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of ...
分类:其他好文   时间:2015-02-13 09:21:11    阅读次数:155
Leetcode 17 Letter Combinations of a Phone Number - DFS思想
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2015-02-13 09:13:59    阅读次数:127
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!