码迷,mamicode.com
首页 >  
搜索关键字:valid sudoku    ( 3260个结果
关于JAVA中流的flush问题
目前在学习Socket,因为和IO关系紧密,于是顺便也学了下IO 发现有这样一句话: The flush method is valid on any output stream,but has no effect unless the stream is buffered 这句话意思是所有的输出流都有flush方法,但是仅对缓冲流有效 看到这里,笔者想到了自己写的serversocket...
分类:编程语言   时间:2014-11-12 11:53:08    阅读次数:278
Valid Parentheses
Valid ParenthesesGiven a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must clos...
分类:其他好文   时间:2014-11-11 22:24:21    阅读次数:201
poj2676 Sudoku
Sudoku Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 14100   Accepted: 6961   Special Judge Description Sudoku is a very simple task. A square table with...
分类:其他好文   时间:2014-11-11 09:24:01    阅读次数:243
Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:其他好文   时间:2014-11-09 20:44:22    阅读次数:204
[leetcode] 1. Valid Palindrome
leetcode的第一题,回文数判断。原题如下:For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is not a palindrome.Note: Have you consider that t...
分类:其他好文   时间:2014-11-09 19:33:04    阅读次数:300
Validate Binary Search Tree(DFS)
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-11-09 16:41:17    阅读次数:122
[LeetCode] Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2014-11-09 15:07:01    阅读次数:129
Valid Number 验证数字
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:其他好文   时间:2014-11-09 08:36:47    阅读次数:155
Leetcode-Validate BST
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-11-09 06:19:31    阅读次数:173
LeetCode Valid Palindrome 有效回文(字符串)
1 class Solution { 2 public: 3 bool isPalindrome(string s) { 4 if(s=="") return true; 5 if(s.length()==1) return true; //单个字符,对称...
分类:其他好文   时间:2014-11-08 21:59:37    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!