上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 87 下一页
摘要: https://leetcode.com/problems/combination-sum/ Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find a 阅读全文
posted @ 2018-12-03 22:11 丧心病狂工科女 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/middle-of-the-linked-list/ Given a non-empty, singly linked list with head node head, return a middle node of linked lis 阅读全文
posted @ 2018-12-03 15:05 丧心病狂工科女 阅读(147) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/delete-node-in-a-linked-list/ Write a function to delete a node (except the tail) in a singly linked list, given only ac 阅读全文
posted @ 2018-12-03 14:39 丧心病狂工科女 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/palindrome-linked-list/ Given a singly linked list, determine if it is a palindrome. Example 1: Example 2: 代码: 妈耶 自己写对的第 阅读全文
posted @ 2018-12-03 14:22 丧心病狂工科女 阅读(138) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/max-points-on-a-line/ Given n points on a 2D plane, find the maximum number of points that lie on the same straight line 阅读全文
posted @ 2018-12-03 13:05 丧心病狂工科女 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 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 丧心病狂工科女 阅读(118) 评论(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 丧心病狂工科女 阅读(155) 评论(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 丧心病狂工科女 阅读(126) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/1038429385296453632 以下文字摘自《灵机一动·好玩的数学》:“狼人杀”游戏分为狼人、好人两大阵营。在一局“狼人杀”游戏中,1 号玩家说:“2 号是狼人”,2 号玩家 阅读全文
posted @ 2018-12-02 11:33 丧心病狂工科女 阅读(915) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/search-a-2d-matrix-ii/ Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the fo 阅读全文
posted @ 2018-11-30 19:51 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 87 下一页