Given two numbers represented as strings, return multiplication of the numbers as a string.
分类:
其他好文 时间:
2014-06-27 12:38:25
阅读次数:
169
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".class Solution {public: string addBinary(str...
分类:
其他好文 时间:
2014-06-26 15:52:27
阅读次数:
159
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.Analysis: 这个题简单的版本是判断两个单词是不是anagram,一...
分类:
其他好文 时间:
2014-06-26 12:47:48
阅读次数:
144
Write a function to find the longest common prefix string amongst an array of strings.public class Solution { public String longestCommonPrefix(Str...
分类:
其他好文 时间:
2014-06-25 17:03:03
阅读次数:
331
Strings and Characters (字符串和字符) 字符串是一组字符组成的序列,例如“hello, world" 或 "albatross”.在Swift中,字符串使用String类型进行声明,它代表一组由Character(字符)类型组成的值的序列. String类型和Charac.....
分类:
移动开发 时间:
2014-06-25 13:42:58
阅读次数:
186
FlatBuffers发布时,顺便也公布了它的性能数据,具体数据请见Benchmark。
它的测试用例由以下数据构成"a set of about 10 objects containing an array, 4 strings, and a large variety of int/float scalar values of all sizes, meant to be rep...
分类:
其他好文 时间:
2014-06-25 09:56:50
阅读次数:
431
linux命令strings,其man信息如下:strings(1) GNU Development Tools strings(1)NAME strings - 显示文件中的可打印字符总览 (SYNOPSIS) strings [-a|-|--all] [-f|--print-file-name]...
分类:
系统相关 时间:
2014-06-25 09:28:50
阅读次数:
304
一、stanford trex 简介
http://nlp.stanford.edu/software/tregex.shtml
A java program for identifying patterns in trees
Like regular expressions for strings, b...
分类:
其他好文 时间:
2014-06-24 18:51:30
阅读次数:
344
题目链接:点击打开链接
题意:
给定长度为n的字符串s,常数k
显然s的子串一共有 n(n-1)/2 个
要求找到一个长度为n的字符串t,使得t对应位置的k个子串字典序>s
#include
#include
#include
#include
#include
#include
using namespace std;
#define N 2505
#define mod 10...
分类:
其他好文 时间:
2014-06-22 09:01:38
阅读次数:
367
3.4.2 依赖与配置的细节
3.4.2.1 Straight values (primitives, Strings, and so on)
JavaBeans PropertyEditors被用来转换这些value到实际的类型。?
bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSourc...
分类:
编程语言 时间:
2014-06-22 06:40:17
阅读次数:
359