mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LeetCode] Problem 39 - Combination Sum

Posted on 2019-03-27 | In Algorithm , LeetCode
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
Read more »

[LeetCode] Problem 107 - Binary Tree Level Order Traversal II

Posted on 2019-03-27 | In Algorithm , LeetCode
Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right, level by level from leaf to root). Exam ...
Read more »

[LeetCode] Problem 102 - Binary Tree Level Order Traversal

Posted on 2019-03-27 | In Algorithm , LeetCode
Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). ExampleGiven binary tree [3,9,20 ...
Read more »

[LeetCode] Problem 145 - Binary Tree Postorder Traversal

Posted on 2019-03-26 | In Algorithm , LeetCode
Given a binary tree, return the postorder traversal of its nodes’ values. ExampleInput: [1,null,2,3] 123451 \ 2 /3 Output: [3,2,1] Follow upRecursiv ...
Read more »

[LeetCode] Problem 94 - Binary Tree Inorder Traversal

Posted on 2019-03-26 | In Algorithm , LeetCode
Given a binary tree, return the inorder traversal of its nodes’ values. ExampleInput: [1,null,2,3] 123451 \ 2 /3 Output: [1,3,2] Follow upRecursive ...
Read more »

[LeetCode] Problem 144 - Binary Tree Preorder Traversal

Posted on 2019-03-26 | In Algorithm , LeetCode
Given a binary tree, return the preorder traversal of its nodes’ values. ExampleInput: [1,null,2,3] 123451 \ 2 /3 Output: [1,2,3] Follow upRecursive ...
Read more »

[LeetCode] Problem 92 - Reverse Linked List II

Posted on 2019-03-26 | In Algorithm , LeetCode
Reverse a linked list from position m to n. Do it in one-pass. Note1 ≤ m ≤ n ≤ length of list. ExampleInput: 1->2->3->4->5->NULL, m = 2 ...
Read more »

[LeetCode] Problem 206 - Reverse Linked List

Posted on 2019-03-26 | In Algorithm , LeetCode
Reverse a singly linked list. ExampleInput: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow upA linked list can b ...
Read more »

[LeetCode] Problem 142 - Linked List Cycle II

Posted on 2019-03-26 | In Algorithm , LeetCode
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. To represent a cycle in the given linked list, we use ...
Read more »

[LeetCode] Problem 141 - Linked List Cycle

Posted on 2019-03-26 | In Algorithm , LeetCode
Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi ...
Read more »
1…515253…78
mrlonelyjtr

mrlonelyjtr

间歇性踌躇满志,持续性混吃等死

780 posts
18 categories
18 tags
Github
© 2020 mrlonelyjtr
Powered by Hexo
Theme - NexT.Pisces