码迷,mamicode.com
首页 >  
搜索关键字:may    ( 5447个结果
Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-06-28 23:59:00    阅读次数:383
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 express...
分类:其他好文   时间:2014-06-28 22:31:11    阅读次数:323
Leetcode:Longest Palindromic Substring 最长回文子串
Longest Palindromic Substring:Given a stringS, find the longest palindromic substring inS.You may assume that the maximum length ofSis 1000, and there...
分类:其他好文   时间:2014-06-21 07:36:18    阅读次数:227
Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on...
分类:其他好文   时间:2014-06-18 19:29:54    阅读次数:221
第一章习题
1.2#include #include #include #include #include using namespace std;char arr[20][20];char words[30][4]={ "boy","own","sad","job","dry", "can","may","b...
分类:其他好文   时间:2014-06-18 11:08:35    阅读次数:211
LeetCode:Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional ele...
分类:其他好文   时间:2014-06-17 23:05:13    阅读次数:246
3Sum Closest
题目 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ...
分类:其他好文   时间:2014-06-17 22:39:41    阅读次数:274
UML的基本关联
?? First, a dependency is a semantic relationship between two model elements in which a change to one element (the independent one) may affect the semantics of the other element (the dependent on...
分类:其他好文   时间:2014-06-17 18:50:36    阅读次数:182
[LeetCode] Best Time to Buy and Sell Stock II
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:其他好文   时间:2014-06-17 14:57:30    阅读次数:269
Leetcode: Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-06-17 14:35:50    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!