自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 [leetcode][python]63. Unique Paths II

63. Unique Paths II知识点:dynamic programming1. 原题A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any ...

2020-04-12 06:10:17 218

原创 [leetcode][python]147. Insertion Sort List

147. Insertion Sort List知识点:sort1. 原题Sort a linked list using insertion sort.A graphical example of insertion sort. The partial sorted list (black) initially contains only the first element in t...

2020-04-12 05:49:09 236

原创 [leetcode][python] 62. Unique Paths

62. Unique Paths知识点:dynamic programming1. 原题A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any poi...

2020-04-11 03:47:28 246

原创 [leetcode][python] 3. Longest Substring Without Repeating Characters

3. Longest Substring Without Repeating Characters知识点:two pointers1. 原题Given a string, find the length of the longest substring without repeating characters.Example 1:Input: “abcabcbb”Output: 3...

2020-04-11 02:55:15 262

原创 [leetcode][python] 457. Circular Array Loop

457. Circular Array Loop知识点:two pointers1. 原题You are given a circular array nums of positive and negative integers. If a number k at an index is positive, then move forward k steps. Conversely, if...

2020-03-30 07:39:57 280

原创 [leetcode][python] 424. Longest Repeating Character Replacement

424. Longest Repeating Character Replacement知识点: two pointers | sliding window1. 原题Given a string s that consists of only uppercase English letters, you can perform at most k operations on that st...

2020-03-30 07:19:49 255

原创 [leetcode][python] 74. Search a 2D Matrix

74. Search a 2D Matrix知识点:binary search1.原题Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from...

2020-03-30 03:25:48 118

原创 [leetcode][python] 287. Find the Duplicate Number

287. Find the Duplicate Number知识点:two pointers1. 原题Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must ex...

2020-03-29 11:06:55 237

原创 [Leetcode][python]209. Minimum Size Subarray Sum

209. Minimum Size Subarray Sum知识点:two pointers1.原题Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there is...

2020-03-29 10:02:38 134

原创 [leetcode][python]142. Linked List Cycle II

142. Linked List Cycle II知识点:two pointers1. 原题Given a linked list, return the node where the cycle begins. If there is no cycle, return null.To represent a cycle in the given linked list, we use ...

2020-03-29 09:01:57 179 1

原创 [Leetcode][python]150. Evaluate Reverse Polish Notation

150. Evaluate Reverse Polish Notation知识点:stack1. 原题Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or anot...

2020-03-28 05:47:39 218

原创 [Leetcode][python] 144. Binary Tree Preorder Traversal

144. Binary Tree Preorder Traversal知识点:slack1.原题Given a binary tree, return the preorder traversal of its nodes’ values.Example:Input: [1,null,2,3] 1 \ 2 / 3Output: [1,2,3]...

2020-03-28 04:38:29 151

原创 [leetcode][python] 103. Binary Tree Zigzag Level Order Traversal

103. Binary Tree Zigzag Level Order Traversal知识点:slack1. 原题Given a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left to right, then right to left for the ne...

2020-03-28 02:47:06 188 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除