mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LeetCode] Problem 137 - Single Number II

Posted on 2017-09-15 | In Algorithm , LeetCode
Given a non-empty array of integers, every element appears three times except for one, which appears exactly once. Find that single one. NoteYour algo ...
Read more »

[LeetCode] Problem 136 - Single Number

Posted on 2017-09-15 | In Algorithm , LeetCode
Given an array of integers, every element appears twice except for one. Find that single one. NoteYour algorithm should have a linear runtime complexi ...
Read more »

[LeetCode] Problem 124 - Binary Tree Maximum Path Sum

Posted on 2017-09-15 | In Algorithm , LeetCode
Given a non-empty binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any ...
Read more »

[LeetCode] Problem 109 - Convert Sorted List to Binary Search Tree

Posted on 2017-09-15 | In Algorithm , LeetCode
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced bina ...
Read more »

[LeetCode] Problem 108 - Convert Sorted Array to Binary Search Tree

Posted on 2017-09-14 | In Algorithm , LeetCode
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is d ...
Read more »

[LeetCode] Problem 110 - Balanced Binary Tree

Posted on 2017-09-14 | In Algorithm , LeetCode
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the dep ...
Read more »

[LeetCode] Problem 111 - Minimum Depth of Binary Tree

Posted on 2017-09-14 | In Algorithm , LeetCode
Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l ...
Read more »

[LeetCode] Problem 104 - Maximum Depth of Binary Tree

Posted on 2017-09-14 | In Algorithm , LeetCode
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
Read more »

[LeetCode] Problem 98 - Validate Binary Search Tree

Posted on 2017-09-14 | In Algorithm , LeetCode
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 ...
Read more »

[LeetCode] Problem 138 - Copy List with Random Pointer

Posted on 2017-09-13 | In Algorithm , LeetCode
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy ...
Read more »
1…686970…78
mrlonelyjtr

mrlonelyjtr

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

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