码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
[LeetCode][JavaScript]Valid Sudoku
https://leetcode.com/problems/valid-sudoku/Valid SudokuDetermine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could ...
分类:编程语言   时间:2015-05-19 00:45:26    阅读次数:688
[LeetCode]-012-Integer to Roman
网址:https://leetcode.com/problems/integer-to-roman/ 题意: 模拟题...自己去查罗马数字怎么转化的就ok. 代码: https://github.com/LiLane/leetcode/blob/master/java/012-IntegertoRoman-201505181637.java https://github.com/Li...
分类:其他好文   时间:2015-05-18 19:00:05    阅读次数:123
[LeetCode][JavaScript]Valid Palindrome
https://leetcode.com/problems/valid-palindrome/Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characte...
分类:编程语言   时间:2015-05-18 18:46:26    阅读次数:304
[LeetCode]-010-Regular Expression Matching
网址:https://leetcode.com/problems/regular-expression-matching/ 题意: 输入的字符串是否被规则序列完全覆盖. 其中 . 代表一个任意字符 其中 * 代表任意个任意字符 分析: 其实就是对正则的一部分实现. 都是很实用的技能和技巧. 难点在于对于*的取舍. *可以是0,也可以是任意值,但却未必是最大值. 尝试用迭代法做....
分类:其他好文   时间:2015-05-18 16:49:11    阅读次数:127
[LeetCode]-011-Container With Most Water
网址:https://leetcode.com/problems/container-with-most-water/ 题意: 找两条纵深线,然后利用x坐标来计算容器面积. 分析: 先找最远的两头,然后往中间收缩, 长变小了,高变长才能使面积可能更大. 所以就是找更长的... 解法: 如果height[left] 反之,同理. 代码: https://github.com/L...
分类:其他好文   时间:2015-05-18 16:43:02    阅读次数:115
Binary Tree Postorder Traversal
https://leetcode.com/problems/binary-tree-postorder-traversal/Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given...
分类:其他好文   时间:2015-05-18 12:49:08    阅读次数:98
light oj Beginners Problems
light oj Beginners Problems 1000+1001+1006+1008+1010+1015+1022+1042+1045+1053+1069+1072+1107+1109+1113+1116+1133+1136+1182+1189+1202+1211+1212+1214+1216+1225+1227+1241+1249+1261+1294+1305+1311+1331+1338+1354+1387+1414+1433...
分类:其他好文   时间:2015-05-18 09:18:30    阅读次数:233
[LeetCode][JavaScript]Add Binary
https://leetcode.com/problems/add-binary/Add BinaryGiven two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"1...
分类:编程语言   时间:2015-05-17 21:48:42    阅读次数:128
[LeetCode][JavaScript]Valid Parentheses
https://leetcode.com/problems/valid-parentheses/Valid ParenthesesGiven a string containing just the characters'(',')','{','}','['and']', determine if ...
分类:编程语言   时间:2015-05-17 18:29:30    阅读次数:187
[LeetCode][JavaScript]Remove Nth Node From End of List
https://leetcode.com/problems/remove-nth-node-from-end-of-list/Remove Nth Node From End of ListGiven a linked list, remove thenthnode from the end of ...
分类:编程语言   时间:2015-05-17 18:11:17    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!