题目:Given two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t= "car", re...
分类:
其他好文 时间:
2015-09-30 23:15:32
阅读次数:
168
QuestionGiven 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 contain...
分类:
其他好文 时间:
2015-09-29 09:59:20
阅读次数:
178
主要是看了这篇文章http://www.geeksforgeeks.org/union-find/总结下目前理解的Union-Find用在disjoint-set data structure上,disjoint-set keeps track of a set of elements partit...
分类:
其他好文 时间:
2015-09-29 06:38:18
阅读次数:
178
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2015-09-28 22:12:11
阅读次数:
251
1 题目Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled w...
分类:
其他好文 时间:
2015-09-27 20:05:02
阅读次数:
175
32. Which CREATE TABLE statement is valid?A. CREATE TABLE ord_details (ord_no NUMBER(2) PRIMARY KEY, item_no NUMBER(3) PRIMARY KEY, ord_date DATE N...
分类:
其他好文 时间:
2015-09-26 10:32:40
阅读次数:
113
LeetCode -- Longest Valid Parentheses...
分类:
其他好文 时间:
2015-09-25 13:20:58
阅读次数:
109
题目:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: P...
分类:
其他好文 时间:
2015-09-23 00:55:43
阅读次数:
131
Oracle EBS 提示XX对当前用户为不可用职责--XX is not a valid responsibility for the current user 最近在EBS中添加新职责进行切换没问题,但是要进入相关职责的Form或Web页面则会碰到如图的难题。解决方法是这样的。1. 进入Functional Administrator职责。2. 选择Core Services->...
分类:
数据库 时间:
2015-09-22 23:47:05
阅读次数:
437
输入一串括号字符串,仅仅包含 (]} 这三种括号。判断输入的括号字符串是不是合法的,合法的输出true,不合法输出false。要求"()"、"[]"、"{}"必须成对使用,或者是像"({[]})"这种层层嵌套但保持对称的,也属于合法。...
分类:
其他好文 时间:
2015-09-22 14:38:49
阅读次数:
169