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 occurrenc ...
分类:
其他好文 时间:
2016-05-11 09:35:08
阅读次数:
193
Valid Anagram Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true ...
分类:
其他好文 时间:
2016-05-10 20:52:44
阅读次数:
233
A string is binary, if it consists only of characters "0" and "1". String v is a substring of string w if it has a non-zero length and can be read sta ...
分类:
其他好文 时间:
2016-05-10 20:22:17
阅读次数:
472
题目: Write a function to find the longest common prefix string amongst an array of strings. 题目解答: 求一组字符串的最长公共前缀。使用迭代器数组实现。思路异常的简单。 代码如下: class Solution ...
分类:
其他好文 时间:
2016-05-10 12:55:25
阅读次数:
134
1.第一步 HaiTing_xcodeproj.png HaiTing_xcodeproj.png 2.第二不 HaiTing_xcodeproj 2.png HaiTing_xcodeproj 2.png 3.第三步 Localizable_strings.png Localizable_stri ...
分类:
其他好文 时间:
2016-05-10 12:30:08
阅读次数:
148
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 occurrenc ...
分类:
编程语言 时间:
2016-05-10 02:17:36
阅读次数:
232
Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-neg ...
分类:
其他好文 时间:
2016-05-09 18:31:38
阅读次数:
154
18.8 Given a string s and an array of smaller strings T, design a method to search s for each small string in T. 参考资料: 从Trie树(字典树)谈到后缀树 CareerCup All ...
分类:
其他好文 时间:
2016-05-09 06:54:27
阅读次数:
119
一、redis简介二、redis安装三、redis配置文件详解四、redis持久化详解1.redis简介Redis是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。它支持多种类型的数据结构,如字符串(strings),散列(hashes),列表(lists),集合(sets..
分类:
其他好文 时间:
2016-05-06 19:51:29
阅读次数:
218
Chapter 1. Getting Started (The Baby Steps)Redis是在内存中运行的NoSQL key-value数据库。
Redis的优势除了内存的高性能外,还有其支持丰富的数据类型,如Strings, Hashes, Lists, Sets, Sorted Sets, Bitmaps, 和 HyperLogLogs。
Redis同时支持持久化,使用的技术为snap...
分类:
其他好文 时间:
2016-05-06 15:32:39
阅读次数:
368