码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果)
67. Add Binary
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 题目:求2个二进制字符串的和,结果也要二进制字符串输出。 ...
分类:其他好文   时间:2016-05-20 22:13:36    阅读次数:126
Redis的安装和配置单实例篇
一、Redis简介Redis是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。它支持多种类型的数据结构,如字符串(strings),散列(hashes),列表(lists),集合(sets),有序集合(sortedsets)与范围查询,bitmaps,hyperloglogs和地..
分类:其他好文   时间:2016-05-20 14:45:17    阅读次数:244
LeetCode-Isomorphic Strings
...
分类:其他好文   时间:2016-05-19 23:10:20    阅读次数:225
【一天一道LeetCode】#49. Group Anagrams
一天一道LeetCode系列(一)题目 Given an array of strings, group anagrams together. For example, given: [“eat”, “tea”, “tan”, “ate”, “nat”, “bat”], Return: [ [“ate”, “eat”,”tea”],...
分类:其他好文   时间:2016-05-18 19:08:45    阅读次数:219
Leetcode 242 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.s = "rat", t = ...
分类:其他好文   时间:2016-05-17 17:49:47    阅读次数:120
HZAU 17:LCS
17: LCS Description Giving two strings consists of only lowercase letters, find the LCS(Longest Common Subsequence) whose all partition are not less t ...
分类:其他好文   时间:2016-05-16 01:48:14    阅读次数:159
Add Binary
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 注意:进位。 Similar Problem : LeetCode 2. Add T ...
分类:其他好文   时间:2016-05-15 16:37:43    阅读次数:140
golang初学之map
package main import ( "strings" "fmt") // 返回各个单词数量统计的map func WordCount(s string) map[string]int { m := make(map[string] int) for _, word := range str ...
分类:其他好文   时间:2016-05-15 12:31:11    阅读次数:99
242. Valid Anagram(C++)
242. 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 ...
分类:编程语言   时间:2016-05-14 18:40:07    阅读次数:175
[容易]比较字符串
题目来源:http://www.lintcode.com/zh-cn/problem/compare-strings/ 先贴上错误代码,测试案例没有全部通过。不一定是顺序的。 修改之后,可以accept的程序如下: 可以accept的程序2如下: ...
分类:其他好文   时间:2016-05-14 00:43:49    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!