题目表述 Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 分析 暴力…
标签:LeetCode题目解答
148. Sort List
欢迎fork and star:Nowcoder-Repository-github 148. Sort List 题目 Sort a linked list in O(n log n) time using const…
145. Binary Tree Postorder Traversal
欢迎fork and star:Nowcoder-Repository-github 二叉树的递归与非递归实现 145. Binary Tree Postorder Traversal 题目 Given a binary…
144. Binary Tree Preorder Traversal
欢迎fork and star:Nowcoder-Repository-github 二叉树的递归与非递归实现 144. Binary Tree Preorder Traversal 题目 Given a binary …
143. Reorder List
欢迎fork and star:Nowcoder-Repository-github 143. Reorder List 题目: Given a singly linked list L: L0→L1→…→Ln-1→Ln…
147. Insertion Sort List
欢迎fork and star:Nowcoder-Repository-github 147. Insertion Sort List 题目 Sort a linked list using insertion sort…
141. Linked List Cycle
欢迎fork and star:Nowcoder-Repository-github 141. Linked List Cycle 题目 Given a linked list, determine if it has …
139. Word Break
欢迎fork and star:Nowcoder-Repository-github 139. Word Break 题目 Given a non-empty string s and a dictionary word…
142. Linked List Cycle II
欢迎fork and star:Nowcoder-Repository-github 142. Linked List Cycle II 题目 Given a linked list, return the node w…
140. Word Break II(hard)
欢迎fork and star:Nowcoder-Repository-github 140. Word Break II 题目: Given a non-empty string s and a dictionary …
138. Copy List with Random Pointer
欢迎fork and star:Nowcoder-Repository-github 138. Copy List with Random Pointer 题目 A linked list is given such t…
136. Single Number
欢迎fork and star:Nowcoder-Repository-github 136. Single Number 题目 Given an array of integers, every element app…