码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果)
[LeetCode#43]Multiply Strings
Problem:Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are ...
分类:其他好文   时间:2015-09-03 01:50:09    阅读次数:202
pat1061. Dating (20)
1061. Dating (20)时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSherlock Holmes received a note with some strange strings: "Let's date! 3485...
分类:其他好文   时间:2015-09-02 20:47:15    阅读次数:218
Longest Palindromic Substring
Description:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one uniqu...
分类:其他好文   时间:2015-09-02 15:57:57    阅读次数:218
【Leetcode】【Medium】Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2015-09-02 00:28:43    阅读次数:214
Longest Common Prefix
Description:Write a function to find the longest common prefix string amongst an array of strings.(最长公共字串)Code:string merge(string&str1, string&str2) ...
分类:其他好文   时间:2015-09-01 12:25:02    阅读次数:171
(二)发送短信
一、直接进入正题,效果图:二、代码部分1、strings.xml定义变量 短息发送器 请输入手机号 请输入短信内容 发送 发送成功2、画面布局 3、后台代码package ysc.itast;import java....
分类:其他好文   时间:2015-08-31 11:42:04    阅读次数:215
【Leetcode】【Medium】Group Anagrams
Given an array of strings, group anagrams together.For example, given:["eat", "tea", "tan", "ate", "nat", "bat"],Return:[ ["ate", "eat","tea"], ["na.....
分类:其他好文   时间:2015-08-30 17:11:50    阅读次数:113
Android自学笔记之Button按钮里的属性及用法
value下的String.xml存放资源,button的名字就存放在String.xml。 所有控件的文字最好不要直接在xml中写,而是先把字符串按照一定格式写在res\values\strings.xml里面,然后在xml中通过字符串的id引用使用。 例如: 先在strings.xml中编辑 登陆; 再在activity_main.xml中 android:text="@strin...
分类:移动开发   时间:2015-08-30 14:23:50    阅读次数:147
[LeetCode][JavaScript]Longest Palindromic Substring
Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there...
分类:编程语言   时间:2015-08-29 22:58:51    阅读次数:160
【LeetCode】67. Add Binary
题目:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".提示:此题我的第一反应是把输入的两个字符串转化为数字,相加以后再把结果转化为二进制输出,...
分类:其他好文   时间:2015-08-29 18:26:15    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!