码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
leetcode[6]ZigZag Conversion
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:其他好文   时间:2015-02-10 15:12:10    阅读次数:138
leetcode[20]Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:其他好文   时间:2015-02-10 15:04:37    阅读次数:195
java 无法割符日期字符串转yyyy-MM-dd hh:mm:ss
1、需要转换字符串(20150210125942),转化后要达到的目的:2015-02-10 12:59:42 public static void main(String[] args) { String strDateTime="20150210125942...
分类:编程语言   时间:2015-02-10 15:02:50    阅读次数:130
leetcode[30]Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2015-02-10 15:00:40    阅读次数:170
json转换
需要引用System.Web.Extensions.dll 这个类库命名空间:System.Web.Script.Serialization数据结构public class Team { public string Name { get; set; } public List Users { ...
分类:Web程序   时间:2015-02-10 14:59:11    阅读次数:161
在servlet中读取配置文件的几种方式
String path = ServletDemo1.class.getClassLoader().getResource("db.properties").getPath(); //在servlet下,用ServletContext的getRealPath方法的得到资源库路...
分类:其他好文   时间:2015-02-10 14:57:00    阅读次数:263
leetcode[3]Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-02-10 14:51:13    阅读次数:151
leetcode[12]Integer to Roman
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.public class Solution { public String int...
分类:其他好文   时间:2015-02-10 14:48:34    阅读次数:131
leetcode[32]Longest Valid Parentheses
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:其他好文   时间:2015-02-10 14:45:36    阅读次数:169
leetcode[17]Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2015-02-10 14:44:37    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!