码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
LeetCode: Linked List Cycle 解题报告
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?SOLUTION 1:经典快慢指针问题。如果存在环...
分类:其他好文   时间:2014-11-30 00:15:56    阅读次数:262
tesseract的releaseNotes分析注释
ReleaseNotesRelease Notes.UpdatedAug 12, 2014bytheraysm...@gmail.comIntroductionThis page keeps the most up-to-date release notes.Tesseract release no...
分类:其他好文   时间:2014-11-29 20:14:01    阅读次数:474
leetcode Binary Tree Level Order Traversal II
是这题的变种对一棵树从最后一次开始层次遍历,并返回结果。例如:Given binary tree{3,9,20,#,#,15,7}, 3 / \ 9 20 / \ 15 7return its bottom-up level order traversal as:[ ...
分类:其他好文   时间:2014-11-29 15:57:28    阅读次数:251
【LeetCode】Path Sum
Path SumGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the give...
分类:其他好文   时间:2014-11-29 15:49:23    阅读次数:135
[LeetCode] Two Sum 两数之和
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-11-29 11:48:14    阅读次数:184
【LeetCode】Populating Next Right Pointers in Each Node II
Populating Next Right Pointers in Each Node IIFollow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any ...
分类:其他好文   时间:2014-11-29 11:45:49    阅读次数:141
[LeetCode] PathSum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:其他好文   时间:2014-11-29 11:37:32    阅读次数:131
HNU 2014 Warm Up 15 E Easy Delete 最小点覆盖=最大匹配数
题目链接:点击打开链接 Easy Delete Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KB Total submit users: 8, Accepted users: 4 Problem 13103 : No special judgement ...
分类:其他好文   时间:2014-11-28 20:11:51    阅读次数:340
Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? #include #include typedef struct ListNode...
分类:其他好文   时间:2014-11-28 18:22:51    阅读次数:172
Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? #include #include typedef struct ListNode { int val; struct ListNode *nex...
分类:其他好文   时间:2014-11-28 16:21:41    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!