mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LeetCode] Problem 671 - Second Minimum Node In a Binary Tree

Posted on 2019-09-23 | In Algorithm , LeetCode
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. ...
Read more »

[LeetCode] Problem 637 - Average of Levels in Binary Tree

Posted on 2019-09-23 | In Algorithm , LeetCode
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. ExampleInput: 12345 3 / \9 20 / \ 15 ...
Read more »

[LeetCode] Problem 633 - Sum of Square Numbers

Posted on 2019-09-23 | In Algorithm , LeetCode
Given a non-negative integer c, your task is to decide whether there’re two integers a and b such that a^2 + b^2 = c. ExampleNo.1Input: 5 Output: True ...
Read more »

[LeetCode] Problem 628 - Maximum Product of Three Numbers

Posted on 2019-09-23 | In Algorithm , LeetCode
Given an integer array, find three numbers whose product is maximum and output the maximum product. ExampleNo.1Input: [1,2,3] Output: 6 No.2Input: [1, ...
Read more »

[LintCode] Problem 698 - Maximum Distance in Arrays

Posted on 2019-09-23 | In Algorithm , LintCode
Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array picks one) and cal ...
Read more »

[LintCode] Problem 880 - Construct Binary Tree from String

Posted on 2019-09-22 | In Algorithm , LintCode
You need to construct a binary tree from a string consisting of parenthesis and integers. The whole input represents a binary tree. It contains an int ...
Read more »

[LeetCode] Problem 606 - Construct String from Binary Tree

Posted on 2019-09-22 | In Algorithm , LeetCode
You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep ...
Read more »

[LeetCode] Problem 605 - Can Place Flowers

Posted on 2019-09-22 | In Algorithm , LeetCode
Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they ...
Read more »

The English We Speak 4

Posted on 2019-09-22 | In English
Across the pondIn Britain, when we say ‘across the pond’ or ‘the other side of the pond’ we might be referring to the Atlantic Ocean and the United St ...
Read more »

[LeetCode] Problem 598 - Range Addition II

Posted on 2019-09-21 | In Algorithm , LeetCode
Given an m * n matrix M initialized with all 0’s and several update operations. Operations are represented by a 2D array, and each operation is repres ...
Read more »
1…101112…78
mrlonelyjtr

mrlonelyjtr

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

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