11-01 leetcode 0501

链接 501. Find Mode in Binary Search Tree 题目Given the root of a binary search tree (BST) with duplicates, return all the mode(...

2023

10-31 leetcode 2433

链接 2433. Find The Original Array of Prefix Xor 题目You are given an integer array pref of size n. Find and return the array ar...

2023

10-31 leetcode-1356

链接 1356. Sort Integers by The Number of 1 Bits 题目You are given an integer array arr. Sort the integers in the array in ascen...

2023

10-22 leetcode-1793

链接 1793. Maximum Score of a Good Subarray 题目You are given an array of integers nums (0-indexed) and an integer k. The score ...

2023

10-21 leetcode 1425

链接 1425. Constrained Subsequence Sum 题目Given an integer array nums and an integer k, return the maximum sum of a non-empty s...

2023

10-20 leetcode 0341

链接 341. Flatten Nested List Iterator 题目You are given a nested list of integers nestedList. Each element is either an integer...

2023

10-19 leetcode 0844

链接 844. Backspace String Compare 题目Given two strings s and t, return true if they are equal when both are typed into empty t...

2023

10-18 leetcode 2050

链接 2050. Parallel Courses III 题目You are given an integer n, which indicates that there are n courses labeled from 1 to n. Yo...

2023

10-17 leetcode 1361

链接 1361. Validate Binary Tree Nodes 题目You have n binary tree nodes numbered from 0 to n - 1 where node i has two children le...

2023

10-16 leetcode 0119

链接 119. Pascal’s Triangle II 题意Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal’s triangle. In...

2023
123…6

站内搜索

没有找到内容!