码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
[LeetCode] Maximum Depth of Binary Tree
Well, this problem has the highest acceptance rate among all OJ problems. It has a very easy 1-line reursive solution. I am not sure whether this one ...
分类:其他好文   时间:2015-08-15 19:49:12    阅读次数:131
判断两个字符串的edit distance为1
from?https://leetcode.com/problems/one-edit-distance/ 正如摘要所说,edit distance是通过变换某些位置的字符使得两个字符串相同的操作数;而该问题是一个比较有名的动态规划问题;分别用s和t表示两个字符串,...
分类:其他好文   时间:2015-08-15 18:37:50    阅读次数:107
LeetCode:Pascal‘s Triangle II - 帕斯卡三角形2
1、题目名称 Pascal‘s Triangle II(帕斯卡三角形2) 2、题目地址 https://leetcode.com/problems/pascals-triangle-ii/ 3、题目内容 英文:Given an index k, return the kth row of the Pascal‘s triangle. 中文...
分类:其他好文   时间:2015-08-15 16:45:00    阅读次数:155
上下翻转二叉树
from?https://leetcode.com/problems/binary-tree-upside-down/; 一个列子:在翻转前 ????1 ???/???2???3 ?/?4???5 翻转后: ???4 ??/??5???2 ????/????3???1 先...
分类:其他好文   时间:2015-08-15 12:10:33    阅读次数:196
LeetCode:Pascal‘s Triangle - 帕斯卡三角形
1、题目名称 Pascal‘s Triangle(帕斯卡三角形) 2、题目地址 https://leetcode.com/problems/pascals-triangle/ 3、题目内容 英文:Given numRows, generate the first numRows of Pascal‘s triangle. 中文:给出...
分类:其他好文   时间:2015-08-15 12:09:47    阅读次数:406
leetCode_Algotithms_TwoSum
leetCode problems of Algotithms从今天开始尝试用纯英文写随笔,当是锻炼自己的英语水平吧。希望自己以后能看懂~Because I don't know that if the leetCode.com has any disagreements about sharing...
分类:其他好文   时间:2015-08-15 00:01:30    阅读次数:343
LeetCode:Symmetric Tree - 判断二叉树是否对称
1、题目名称 Symmetric Tree(判断二叉树是否对称) 2、题目地址 https://leetcode.com/problems/symmetric-tree/ 3、题目内容 英文:Given a binary tree, check whether it is a mirror of itself (ie, symmet...
分类:其他好文   时间:2015-08-13 23:52:09    阅读次数:634
2015-08-13 [百度]--实习开发测试工程师--1面
时间:2015-08-13 16:40 ~ 18:20地点:北京市海淀区西北旺东路10号院百度科技园1号楼1. 问简历。。。2. 算法只问了一道算法题目。leetcode原题稍微改了下。https://leetcode.com/problems/copy-list-with-random-point...
分类:其他好文   时间:2015-08-13 21:59:24    阅读次数:137
LeetCode解题报告--Integer to Roman
题目:阿拉伯数字转罗马数字Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999.原题链接地址:https://leetcode.com/problems/integer-to-roman/ 分析:题意将阿拉伯数字num转罗马数字 拼写...
分类:其他好文   时间:2015-08-13 20:10:49    阅读次数:129
hdu5371 最长回文子串变形(Manacher算法)
http://acm.hdu.edu.cn/showproblem.php?pid=5371 Problem Description Hotaru Ichijou recently is addicated to math problems. Now she is playing with N-sequence. Let's define N-sequence, which is...
分类:编程语言   时间:2015-08-13 14:32:32    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!