10-15 leetcode 1269

链接 1269. Number of Ways to Stay in the Same Place After Some Steps 题意You have a pointer at index 0 in an array of size arrLe...

2023

10-14 leetcode 2742

链接 2742. Painting the Walls 题意You are given two 0-indexed integer arrays, cost and time, of size n representing the costs an...

2023

10-13 leetcode 0746

链接 746. Min Cost Climbing Stairs 题目You are given an integer array cost where cost[i] is the cost of ith step on a staircase....

2023

10-11 leetcode 2251

链接 2251. Number of Flowers in Full Bloom 题目You are given a 0-indexed 2D integer array flowers, where flowers[i] = [starti, e...

2023

10-10 leetcode 2009

链接 2009. Minimum Number of Operations to Make Array Continuous 题目You are given an integer array nums. In one operation, you ...

2023

10-09 leeetcode 0034

链接 34. Find First and Last Position of Element in Sorted Array 题目Given an array of integers nums sorted in non-decreasing or...

2023

10-06 leetcode 0343

链接 343. Integer Break 题目Given an integer n, break it into the sum of k positive integers, where k >= 2, and maximize the ...

2023

10-05 leetcode 0229

链接 229. Majority Element II 题目Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. 题解没啥好...

2023

10-04 leetcode 0706

链接 706. Design HashMap 题目Design a HashMap without using any built-in hash table libraries. Implement the MyHashMap class: My...

2023

10-03 leetcode 1512

链接 1512. Number of Good Pairs 题目Given an array of integers nums, return the number of good pairs. A pair (i, j) is called go...

2023
1234…6

站内搜索

没有找到内容!