Leetcode-Question-753: Cracking the Safe

Original Link:

https://leetcode.com/contest/weekly-contest-64/problems/cracking-the-safe/

Solution:

Or

 

Leetcode-Question-752: Open the Lock

Original Link:

https://leetcode.com/contest/weekly-contest-64/problems/open-the-lock/

Solution:

 

 

Leetcode-Question-751: IP to CIDR

Original Link:
https://leetcode.com/contest/weekly-contest-64/problems/ip-to-cidr/

Solution:

 

Leetcode-Question-747: Largest Number Greater Than Twice of Others

Original Link:
https://leetcode.com/contest/weekly-contest-64/problems/largest-number-greater-than-twice-of-others/

Solution:

 

Leetcode-Question-750: Number Of Corner Rectangles

原文链接:
https://leetcode.com/problems/number-of-corner-rectangles/

解析:

 

Leetcode-Question-749: Contain Virus

原文链接:

https://leetcode.com/problems/contain-virus/

解析:

 

Leetcode-Question-748: Shortest Completing Word

原文链接:

https://leetcode.com/problems/shortest-completing-word/

解析:

 

Leetcode-Question-746: Min Cost Climbing Stairs

原文链接:

https://leetcode.com/problems/min-cost-climbing-stairs/

解析:

动态规划。dp[i] 为要到达i位置,需要付出的代价。

【拳不离手曲不离口系列】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: