摘要: 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 丧心病狂工科女 阅读(145) 评论(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 丧心病狂工科女 阅读(153) 评论(0) 推荐(0) 编辑