码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
poj 3630 Phone List (字典树 +静态字典树)
Phone List Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 22235   Accepted: 6885 Description Given a list of phone numbers, determine if it is consistent in...
分类:其他好文   时间:2014-07-24 23:08:34    阅读次数:272
WIP 投料报 Invalid Serial Number
1.接口表数据检查无误 2.同样数据界面能正常完成 界面做trace SQL ID: b2mw8gjyv7guh Plan Hash: 2015965341 DELETE FROM MTL_SERIAL_NUMBERS_TEMP  WHERE TRANSACTION_TEMP_ID =  :b1 call     count       cpu    el...
分类:其他好文   时间:2014-07-24 23:05:04    阅读次数:601
Two Sum
Two Sum 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 t...
分类:其他好文   时间:2014-07-24 22:32:52    阅读次数:194
【leetcode刷题笔记】Decode Ways
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:其他好文   时间:2014-07-24 21:56:32    阅读次数:219
Add Two Numbers leetcode java
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sin....
分类:编程语言   时间:2014-07-24 10:01:23    阅读次数:223
poj 3292 Semi-prime H-numbers
题目链接:http://poj.org/problem?id=3292 题目大意:就是给你一个模4余1的数H-number,如果一个H-number是H-primes 当且仅当它的因子只有1和它本身(除1外)。一个H-number是H-semi-prime当且仅当它只由两个H-primes的乘积表示。H-number剩下其他的数均为H-composite。给你一个数h,问1到h有多少个H-sem...
分类:其他好文   时间:2014-07-23 22:38:17    阅读次数:302
Two Sum
1.hashMap方法O(n)空间换时间public class Solution { public int[] twoSum(int[] numbers, int target) { HashMap hash=new HashMap(); int ans[]=ne...
分类:其他好文   时间:2014-07-23 22:20:57    阅读次数:262
[leetcode]Next Permutation
Next PermutationImplement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangemen...
分类:其他好文   时间:2014-07-23 20:34:45    阅读次数:206
Leetcode:Palindrome Partitioning II
Description:Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome part...
分类:其他好文   时间:2014-07-23 20:34:35    阅读次数:235
LeetCode:Decode Ways
A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total numb...
分类:其他好文   时间:2014-07-23 17:06:05    阅读次数:324
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!