最新 最热

Leetcode 题目解析之 Kth Largest Element in an Array

Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.

2022-02-14
1

Leetcode 题目解析之 Find Minimum in Rotated Sorted Array

Suppose a sorted array is rotated at some pivot unknown to you beforehand.

2022-02-14
2

这下玩大了!荣耀折叠屏手机「Magic V」刚发布就现场「首摔」,售价9999元起

去年12月,先是OPPO发布Find N,紧接着不到10天,华为带着翻盖式折叠屏手机P50 Pocket再次杀入赛道。

2022-02-10
1

Leetcode 题目解析之 Rectangle Area

Find the total area covered by two rectilinear rectangles in a 2D plane.

2022-01-20
1

Leetcode 题目解析之 Single Number II

Given an array of integers, every element appears three times except for one. Find that single one.

2022-01-14
1

Leetcode 题目解析之 Single Number

Given an array of integers, every element appears twice except for one. Find that single one.

2022-01-14
1

python 字符串搜索

text = 'yeah, but no, but yeah, but no, but yeah' Search for the location of the first occurrence text.find('no') 10 text = 'Today is 11/27/2012. PyCon star...

2022-01-10
2

Leetcode 题目解析之 Find Minimum in Rotated Sorted Array

Suppose a sorted array is rotated at some pivot unknown to you beforehand.

2022-01-08
2

Leetcode 题目解析之 4Sum

Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = tar

2022-01-08
2

Leetcode 题目解析之 3Sum

Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all un

2022-01-08
1