1 public static class ArrayListHelper 2 { 3 /// 4 /// determine whether the array list contain the sepcific string 5 //...
分类:
其他好文 时间:
2015-04-20 16:27:50
阅读次数:
81
DescriptionFarmer John purchased satellite photos of W x H pixels of his farm (1 <= W <= 80, 1 <= H <= 1000) and wishes to determine the largest ‘contiguous’ (connected) pasture. Pastures are contiguou...
分类:
其他好文 时间:
2015-04-20 14:52:10
阅读次数:
172
题目链接: HDU - 1501Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings....
分类:
其他好文 时间:
2015-04-19 00:57:26
阅读次数:
207
题目描述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.For example:
Given the below binary tree and sum...
分类:
其他好文 时间:
2015-04-18 22:01:55
阅读次数:
136
TWebBrowser: Determine when a page with Frames is completed6 comments. Current rating: (3 votes). Leave comments and/ or rate it.Question:If I load a....
分类:
Web程序 时间:
2015-04-18 19:04:52
阅读次数:
164
[root@rusky]# service httpd startStarting httpd: httpd: apr_sockaddr_info_get() failed for ruskyhttpd: Could not reliably determine the server's fully...
分类:
Web程序 时间:
2015-04-18 16:06:49
阅读次数:
159
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Cracking Interview书上原题,快慢指针,如果有环肯定相遇。/** *...
分类:
其他好文 时间:
2015-04-18 08:39:30
阅读次数:
127
problem:
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 th...
分类:
其他好文 时间:
2015-04-17 18:28:13
阅读次数:
142
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...
分类:
其他好文 时间:
2015-04-17 18:21:47
阅读次数:
122
题目链接:Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees ...
分类:
其他好文 时间:
2015-04-17 18:17:21
阅读次数:
140