摘要: https://leetcode.com/problems/maximum-product-subarray/ Given an integer array nums, find the contiguous subarray within an array (containing at least 阅读全文
posted @ 2018-12-02 21:59 _Zlrrr 阅读(123) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/summary-ranges/ Given a sorted integer array without duplicates, return the summary of its ranges. Example 1: Example 2: 阅读全文
posted @ 2018-12-02 18:29 _Zlrrr 阅读(158) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/basic-calculator-ii/ Implement a basic calculator to evaluate a simple expression string. The expression string contains 阅读全文
posted @ 2018-12-02 17:55 _Zlrrr 阅读(130) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/1038429385296453632 以下文字摘自《灵机一动·好玩的数学》:“狼人杀”游戏分为狼人、好人两大阵营。在一局“狼人杀”游戏中,1 号玩家说:“2 号是狼人”,2 号玩家 阅读全文
posted @ 2018-12-02 11:33 _Zlrrr 阅读(930) 评论(0) 推荐(0)