自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 [LeetCode] 4. Median of Two Sorted Arrays(Python)

[LeetCode] 4. Median of Two Sorted Arrays(Python)1. 题目2. 题目理解3. 代码实现1. 题目Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.The overall run time complexity should be O(log (m+n)).Example 1:

2021-12-06 22:00:14 690

原创 [LeetCode] 3. Longest Substring Without Repeating Characters(Python)

[LeetCode] 3. Longest Substring Without Repeating Characters(Python)1. 题目2. 题目理解3. 代码实现1. 题目Given a string s, find the length of the longest substring without repeating characters.Example 1:Input: s = “abcabcbb”Output: 3Explanation: The answer is “a

2021-12-03 15:58:56 458

原创 [LeetCode] 2. Add Two Numbers(Python)

[LeetCode] 2. Add Two Numbers(Python)1. 题目2. 题目理解3. 代码实现1. 题目You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers a

2021-12-02 14:05:46 216

原创 [LeetCode] 1. Two Sum(Python)

[LeetCode] 1. Two Sum(Python)1. 题目2. 题目理解3. 代码实现4. 分析附录:1. 题目Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.You may assume that each input would have exactly one solution, and y

2021-12-01 20:59:16 966 2

空空如也

空空如也

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

TA关注的人

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