码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
Word Break
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:其他好文   时间:2015-06-12 09:54:06    阅读次数:92
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 order, "()" and "()[]{}" are all valid but "...
分类:其他好文   时间:2015-06-11 17:05:56    阅读次数:123
Leetcode[20]-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: Panama" is a palindrome. "race a car" is not a palindr...
分类:其他好文   时间:2015-06-11 14:38:52    阅读次数:117
the Determine in June
今天是6月10号,周三。 自己做的CSDN博客端(仿小巫博客,ps:里边的框架和代码优化都是自己重新用新框架做的或者自己重新实现)也已经有三天了,进度还差很多~~~ 结合了上次投简历的经验和期末复习世间的安排,本屌打算在本周末也就是14号完成本客户端的初步开发,并完成在小米应用商店(ps:哈哈,我是忠实的米粉)的上架~~~ 当天并完成简历的重新修订(主要是技能的重新整理和电面的要求),毕竟从...
分类:其他好文   时间:2015-06-11 00:17:27    阅读次数:160
LeetCode【9】. Palindrome Number --java的实现
Palindrome Number   Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of conver...
分类:编程语言   时间:2015-06-11 00:14:55    阅读次数:173
Leetcode[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?分析:设置两个临时指针,一个一次走一步,一个一次走两步,如果再次相遇,表示有环。Code(c++):/** * Definition for singly-linked list....
分类:其他好文   时间:2015-06-10 12:22:20    阅读次数:113
[leetcode] Validate Binary Search Tree
Validate Binary Search TreeGiven a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtre...
分类:其他好文   时间:2015-06-10 12:03:48    阅读次数:89
Leetcode[202]-Happy Number
Write an algorithm to determine if a number is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of i...
分类:移动开发   时间:2015-06-10 08:58:42    阅读次数:128
Path Sum I, II
简单题IGiven 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 su...
分类:其他好文   时间:2015-06-10 06:33:31    阅读次数:101
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2015-06-10 06:27:16    阅读次数:102
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!