码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果)
[leedcode 205] Isomorphic Strings
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:其他好文   时间:2015-08-04 00:31:12    阅读次数:108
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 = "car", return false. Note: You may a...
分类:其他好文   时间:2015-08-03 22:54:11    阅读次数:142
leetcode-67-Add Binary
Add Binary Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 两字符串表示的2进制数。求它们的和。 直接模拟,从最后一位开始每一位都相加,结果保存在栈中。 class Solut...
分类:其他好文   时间:2015-08-03 19:07:54    阅读次数:115
圆角button
在res目录下的drawable-mdpi建立xml文件shape.xml,如下图所示:shape.xml main.xml在android:background="@drawable/shape"就使用了shape.xml资源strings.xml Hello World, ...
分类:其他好文   时间:2015-08-03 12:55:47    阅读次数:114
字符相等(E - 暴力求解、DFS)
判断字符相等DescriptionToday on a lecture about strings Gerald learned a new definition of string equivalency. Two strings a and b of equal length are calle...
分类:其他好文   时间:2015-08-02 22:56:30    阅读次数:128
LeetCode242——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 = "car", return false. Note: You may a...
分类:其他好文   时间:2015-08-02 21:34:46    阅读次数:104
Problem A CodeForces 556A
Description Andrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones. Once he t.....
分类:其他好文   时间:2015-08-02 21:31:44    阅读次数:112
0 and 1
DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he thoug...
分类:其他好文   时间:2015-08-02 21:19:49    阅读次数:111
CodeForces 556A 解题心得
原题:DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he th...
分类:其他好文   时间:2015-08-02 20:00:41    阅读次数:135
HUAS Summer Trainning #3 E
Today on a lecture about strings Gerald learned a new definition of string equivalency. Two stringsaandbof equal length are calledequivalentin one of ...
分类:其他好文   时间:2015-08-02 19:57:29    阅读次数:623
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!