题目: Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", ...
分类:
其他好文 时间:
2016-04-19 19:32:52
阅读次数:
118
Question: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a ...
分类:
其他好文 时间:
2016-04-19 10:05:51
阅读次数:
132
Given a linked list, remove the nth node from the end of list and return its head. For example, Note:Given n will always be valid.Try to do this in on ...
分类:
其他好文 时间:
2016-04-18 06:35:08
阅读次数:
158
题目:
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...
分类:
其他好文 时间:
2016-04-17 23:17:34
阅读次数:
242
Description: Given a binary tree, find all paths that sum of the nodes in the path equals to a given number target. A valid path is from root node to ...
分类:
其他好文 时间:
2016-04-17 21:59:13
阅读次数:
198
原文:C#使用RSA证书文件加密和解密示例修改MSDN上的示例,使之可以通过RSA证书文件加密和解密,中间遇到一个小问题。 Q:执行ExportParameters()方法时,回报CryptographicException:该项不适于在指定状态下使用(Key not valid for use i... ...
题目: Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", ...
分类:
其他好文 时间:
2016-04-17 06:16:30
阅读次数:
129
LintCode : Validate Binary Search Tree Description: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined ...
分类:
其他好文 时间:
2016-04-17 06:14:04
阅读次数:
124
验证码图片生成以及与Struts2结合使用 代码: 1.ValidateCode类代码 package cn.xjz.tools; import java.util.Arrays; /** * 工具类,生成随机验证码字符串 * @author admin * */public class Valid ...
分类:
其他好文 时间:
2016-04-16 16:37:08
阅读次数:
154