码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
17 多校1 Add More Zero 水题
Problem Description There is a youngster known for amateur propositions concerning several mathematical hard problems.Nowadays, he is preparing a thou ...
分类:其他好文   时间:2017-07-26 10:47:01    阅读次数:149
139. Word Break
#139. Word Break Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a spa ...
分类:其他好文   时间:2017-07-26 01:43:53    阅读次数:150
交叉字符串
代码: class Solution { public: /** * Determine whether s3 is formed by interleaving of s1 and s2. * @param s1, s2, s3: As description. * @return: true o ...
分类:其他好文   时间:2017-07-25 19:29:43    阅读次数:123
141. Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 一个+1 一个+2 看看能不能相遇。注意代码不要写乱了...以后尽量用p1 p2 ...
分类:其他好文   时间:2017-07-24 21:31:27    阅读次数:105
125. Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan ...
分类:其他好文   时间:2017-07-24 19:08:19    阅读次数:111
112. Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F ...
分类:其他好文   时间:2017-07-24 13:10:41    阅读次数:106
Codeforces Round #390 (Div. 2) B
Ilya is an experienced player in tic-tac-toe on the 4?×?4 field. He always starts and plays with Xs. He played a lot of games today with his friend Ar ...
分类:其他好文   时间:2017-07-24 09:52:11    阅读次数:225
HDU 5305 Friends (DFS)
Friends Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 163 Accepted Submission(s): 61 Problem D ...
分类:其他好文   时间:2017-07-23 19:47:12    阅读次数:212
POJ 3295 Tautology(构造法)
题目网址:http://poj.org/problem?id=3295 题目: Tautology Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13231 Accepted: 5050 Description WFF 'N P ...
分类:其他好文   时间:2017-07-23 13:29:22    阅读次数:161
[LeetCode] Power of Three
Given an integer, write a function to determine if it is a power of three. Follow up:Could you do it without using any loop / recursion? 判断一个数是否是3的幂,则 ...
分类:其他好文   时间:2017-07-22 23:53:54    阅读次数:338
2744条   上一页 1 ... 64 65 66 67 68 ... 275 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!