One Edit Distance
Total Accepted: 709
Total Submissions: 3097
Given two strings S and T, determine if they are both one edit distance apart.
[分析]
delete, add, replace 三种都是 One edit dista...
分类:
其他好文 时间:
2015-01-02 14:43:29
阅读次数:
183
【题目】
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 tre...
分类:
其他好文 时间:
2015-01-01 23:49:22
阅读次数:
189
http://poj.org/problem?id=3349
Description
You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read i...
分类:
编程语言 时间:
2015-01-01 18:33:35
阅读次数:
222
AH00558:httpd:Couldnotreliablydeterminetheserver‘sfullyqualifieddomainname,usinglocalhost.localdomain.Setthe‘ServerName‘directivegloballytosuppressthismessagehttpd(pid1068)alreadyrunning编辑httpd.conf文件,搜索"#ServerName",添加ServerNamelocalhost:80然后重..
分类:
Web程序 时间:
2015-01-01 10:10:34
阅读次数:
198
Compare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Case letters.Examp...
分类:
其他好文 时间:
2014-12-31 08:42:03
阅读次数:
228
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...
分类:
其他好文 时间:
2014-12-30 21:54:37
阅读次数:
183
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:
其他好文 时间:
2014-12-30 20:39:15
阅读次数:
156
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
...
分类:
其他好文 时间:
2014-12-30 19:10:58
阅读次数:
135
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 of every node never diffe...
分类:
其他好文 时间:
2014-12-30 17:13:32
阅读次数:
135
How to determine sales Document item Category in sales order document Line item ? Make new entries for the appropriate document type and usage indicat...
分类:
其他好文 时间:
2014-12-30 13:16:24
阅读次数:
268