码迷,mamicode.com
首页 >  
搜索关键字:determine    ( 2744个结果
1.1
1.1 Implement an algorithm to determine if a string has all unique characters. Whatif you cannot use additional data structures? 1 #include 2 #includ....
分类:其他好文   时间:2014-08-09 18:17:58    阅读次数:199
LeetCode——Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a function to determine if a given target is in the...
分类:其他好文   时间:2014-08-09 11:38:57    阅读次数:147
B - Phone List
Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers: 1. Emergency 911 ...
分类:其他好文   时间:2014-08-08 12:49:16    阅读次数:187
[ACM] ural 1057 Amount of degrees (数位统计)
1057. Amount of Degrees Time limit: 1.0 second Memory limit: 64 MB Create a code to determine the amount of integers, lying in the set [X;Y] and being a sum of exactlyK different integer de...
分类:其他好文   时间:2014-08-07 19:03:10    阅读次数:384
程序猿的自我修养清单
Data Structures    1. Integer       – find number of 1s       – next largest smaller       – smallest larger number       – determine if is palindrom       – itoa, atoi       – add 2 numbers w/...
分类:其他好文   时间:2014-08-05 15:50:40    阅读次数:408
Leetcode_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 nodes with keys less than the node's key.Th...
分类:其他好文   时间:2014-08-05 09:43:39    阅读次数:191
[leetcode]Word Break
Word BreakGiven a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words....
分类:其他好文   时间:2014-08-05 03:04:18    阅读次数:239
__builtin_constant_p
int __builtin_constant_p (exp); You can use the built-in function __builtin_constant_p to determine if a value is known to be constant at compile-time...
分类:其他好文   时间:2014-08-04 21:14:17    阅读次数:193
Validate Binary Search Tree leetcode java
题目: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 on....
分类:编程语言   时间:2014-08-04 13:57:17    阅读次数:242
Palindrome Number leetcode java
题目:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes....
分类:编程语言   时间:2014-08-04 04:09:56    阅读次数:339
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!