【拳不离手曲不离口系列】Leetcode-Weekly-Contest-62

第一题:
http://storypku.com/2017/12/leetcode-question-744-find-smallest-letter-greater-than-target/

第二题:
http://storypku.com/2017/12/leetcode-question-743-network-delay-time/

第三题:
http://storypku.com/2017/12/leetcode-question-742-closest-leaf-in-a-binary-tree/

第四题:

http://storypku.com/2017/12/leetcode-question-745-prefix-and-suffix-search/

Leetcode-Question-745: Prefix and Suffix Search

Original Link:

https://leetcode.com/contest/weekly-contest-by-app-academy/problems/prefix-and-suffix-search/

Solution:

 

Leetcode-Question-742: Closest Leaf in a Binary Tree

Original Link:

https://leetcode.com/contest/weekly-contest-by-app-academy/problems/closest-leaf-in-a-binary-tree/

Solution:

 

 

Leetcode-Question-743: Network Delay Time

Original Link:

https://leetcode.com/contest/weekly-contest-by-app-academy/problems/network-delay-time/

Solution:

 

Leetcode-Question-744: Find Smallest Letter Greater Than Target

Original Link:

https://leetcode.com/contest/weekly-contest-by-app-academy/problems/find-smallest-letter-greater-than-target/

Solution:

Binary Search

或者:

 

Leetcode-Question-741: Cherry Pickup

Original Link:

https://leetcode.com/contest/weekly-contest-61/problems/cherry-pickup/

Solution:

 

 

Leetcode-Question-740: Delete and Earn

原文链接:

https://leetcode.com/contest/weekly-contest-61/problems/delete-and-earn/

解析:

 

 

Leetcode-Question-738: Monotone Increasing Digits

原文链接:

https://leetcode.com/contest/weekly-contest-61/problems/monotone-increasing-digits/

解析:

 

Leetcode-Question-739: Daily Temperatures

Original Link:

https://leetcode.com/contest/weekly-contest-61/problems/daily-temperatures/

Solution:

 

【拳不离手曲不离口系列】Leetcode-Weekly-Contest-60

第四题:

原文链接:
https://leetcode.com/problems/parse-lisp-expression/

解答代码:
http://storypku.com/2017/11/leetcode-question-736-parse-lisp-expression/

第三题:

原文链接:
https://leetcode.com/problems/asteroid-collision/description/

解答代码:
http://storypku.com/2017/11/leetcode-question-735-asteroid-collision/

第二题:

原文链接:
https://leetcode.com/problems/sentence-similarity/

解答代码:
http://storypku.com/2017/11/leetcode-question-734-sentence-similarity/

第一题:

原文链接:
https://leetcode.com/problems/flood-fill/

解答代码:
http://storypku.com/2017/11/leetcode-question-733-flood-fill/