Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100".思路:二进制加法计算的步骤: 1、将二进制转化成字符串的形式,这样从高位到地位依次每一...
分类:
其他好文 时间:
2015-12-13 21:56:40
阅读次数:
212
题目来源https://leetcode.com/problems/multiply-strings/Given two numbers represented as strings, return multiplication of the numbers as a string.Note: Th...
分类:
编程语言 时间:
2015-12-13 18:45:49
阅读次数:
177
在Xcode7下:建立.strings文件, 文件名必须为InfoPlist.strings,会生成:在英文文件里加入CFBundleDisplayName=”SourceNote”;中文里加入:CFBundleDisplayName=”源音符”;在info.plist加入一条属性:然后, 工程的语...
分类:
其他好文 时间:
2015-12-12 23:03:06
阅读次数:
215
redis入门笔记(1)1. Redis 简介?Redis是一款开源的、高性能的键-值存储(key-value store)。它常被称作是一款数据结构服务器(data structure server)。Redis的键值可以包括字符串(strings)类型,同时它还包括哈希(hashes)、列表(l...
分类:
其他好文 时间:
2015-12-12 15:25:20
阅读次数:
200
题目连接https://leetcode.com/problems/multiply-strings/Multiply StringsDescriptionGiven two numbers represented as strings, return multiplication of the n...
分类:
其他好文 时间:
2015-12-11 22:21:09
阅读次数:
258
题目连接https://leetcode.com/problems/anagrams/Group AnagramsDescriptionGiven an array of strings, group anagrams together.For example, given: [“eat”, “te...
分类:
其他好文 时间:
2015-12-11 22:04:06
阅读次数:
161
Total Accepted:57578Total Submissions:226493Difficulty:MediumGiven an array of strings, group anagrams together.For example, given:["eat", "tea", "tan...
分类:
其他好文 时间:
2015-12-10 21:18:36
阅读次数:
150
1、建立strings文件,命名为Localization.strings2、点击刚刚创建的Localization.strings文件,展开右侧栏,点击Localizations按钮3、选择project文件,如下图选择要添加的语言4、添加后最终效果为之后怎么用就不说了,和以前一样。OK,完工。。...
分类:
移动开发 时间:
2015-12-08 20:08:01
阅读次数:
197
题目连接https://leetcode.com/problems/isomorphic-strings/Isomorphic StringsDescriptionGiven two strings s and t, determine if they are isomorphic.Two stri...
分类:
其他好文 时间:
2015-12-08 10:13:10
阅读次数:
117
Total Accepted:82026Total Submissions:379898Difficulty:MediumGiven a stringS, find the longest palindromic substring inS. You may assume that the maxi...
分类:
其他好文 时间:
2015-12-07 22:48:22
阅读次数:
294