码迷,mamicode.com
首页 >  
搜索关键字:may    ( 5447个结果
Leetcode | Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:其他好文   时间:2014-05-16 21:15:37    阅读次数:454
Scala curly braces & parenthesis
今天上英文課, 因為我想記住這兩個單字curly braces & parenthesis你會看到一些代碼中curly braces & parenthesis是可以替換的?You may replace parenthesis with curly braces if, and only if, ...
分类:其他好文   时间:2014-05-16 07:27:23    阅读次数:257
LeetCode OJ - Evaluate Reverse Polish Notation
题目: Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another e.....
分类:其他好文   时间:2014-05-16 05:56:07    阅读次数:221
LeetCode 006 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 for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSI...
分类:其他好文   时间:2014-05-15 04:30:57    阅读次数:313
LeetCode-005 Longest Palindromic Substrin
【题目】 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 【题意】 题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解 【思路】 原字符串用特殊字符#间隔,如下所示: #a...
分类:其他好文   时间:2014-05-15 03:31:25    阅读次数:299
0A01-APP-Text-to-Speech
描述把文本读出的API,在手机上测试知识支持英文,中文库应该没有所以不支持 /* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
分类:移动开发   时间:2014-05-14 21:34:49    阅读次数:435
Pat(Advanced Level)Practice--1018(Public Bike Management)
Pat1018代码 题目描述: There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to an...
分类:其他好文   时间:2014-05-13 23:27:04    阅读次数:582
[LeetCode]Evaluate Reverse Polish Notation
题目:Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another expr...
分类:其他好文   时间:2014-05-13 22:43:01    阅读次数:335
【LeetCode】Triangle
TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given...
分类:其他好文   时间:2014-05-13 18:51:44    阅读次数:297
每日一结
1.常量<1>.constconstinta;intconsta;constint*a;int*consta;intconst*aconst;前两个的作用一样,a是一个常整型数;第三个意味着a是一个指向常整型数的指针(整型数是不可修改的,但指针可以);第四个a是一个指向整型数的常指针(指针指向的整型数十可以修改的,但指针是不..
分类:其他好文   时间:2014-05-13 12:51:45    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!