
需要再看
zyp7355
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode #92Reverse Linked List II
Reverse a linked list from position m to n. Do it in one-pass. Note: 1 ≤ m ≤ n ≤ length of list. Example: Input: 1->2->3->4->5->NULL, m = 2, n = 4 Output: 1->4->3->2->5->...原创 2020-04-17 05:56:59 · 190 阅读 · 1 评论 -
leetcode 56 merge intervals
Merge Intervals Medium 3494 257 Add to List Share Given a collection of intervals, merge all overlapping intervals. Example 1: Input: [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Expl...原创 2020-04-08 03:38:05 · 142 阅读 · 0 评论 -
leetcode#50 Pow(x, n)
mplement pow(x, n), which calculates x raised to the power n (xn). Example 1: Input: 2.00000, 10 Output: 1024.00000 Example 2: Input: 2.10000, 3 Output: 9.26100 Example 3: Input: 2.00000, -2 Output: 0...原创 2020-02-11 08:58:18 · 113 阅读 · 0 评论 -
leetcode 48 # rotate image
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, which means you have to modify the input 2D matrix dire...原创 2020-04-03 04:39:10 · 98 阅读 · 0 评论 -
leetcode #43 Multiply Strings
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: Input: num1 = “2”, num2 = “3” Output: “6” Example 2:...原创 2020-04-03 03:20:35 · 122 阅读 · 0 评论 -
leetcode#36. Valid Sudoku
Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row must contain the digits 1-9 without repetition. Each column must contain...原创 2020-02-08 06:35:57 · 122 阅读 · 0 评论 -
leetcode #143. Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You may not modify the values in the list’s nodes, only nodes itself may be changed. Example 1: Given 1->2->...原创 2020-03-06 04:02:44 · 110 阅读 · 0 评论