1436. Destination City

作者:sryan 更新时间:2021-03-03 18:28 分类:数据结构与算法

You are given the array paths, where paths[i] = [cityAi, cityBi] means there exists a direct path go...

点击数:457 回复数:0

1431. Kids With the Greatest Number of Candies

作者:sryan 更新时间:2021-03-03 18:21 分类:数据结构与算法

Given the array candies and the integer extraCandies, where candies[i] represents the number of cand...

点击数:308 回复数:0

1422. Maximum Score After Splitting a String

作者:sryan 更新时间:2021-03-03 18:12 分类:数据结构与算法

Given a string s of zeros and ones, return the maximum score after splitting the string into two non...

点击数:364 回复数:0

1417. Reformat The String

作者:sryan 更新时间:2021-03-03 17:34 分类:数据结构与算法

Given alphanumeric string s. (Alphanumeric string is a string consisting of lowercase English letter...

点击数:325 回复数:0

1413. Minimum Value to Get Positive Step by Step Sum

作者:sryan 更新时间:2021-03-03 17:08 分类:数据结构与算法

Given an array of integers nums, you start with an initial positive value startValue. In each iterat...

点击数:363 回复数:0

1408. String Matching in an Array

作者:sryan 更新时间:2021-03-03 16:21 分类:数据结构与算法

Given an array of string words. Return all strings in words which is substring of another word in an...

点击数:395 回复数:0

1403. Minimum Subsequence in Non-Increasing Order

作者:sryan 更新时间:2021-03-03 16:09 分类:数据结构与算法

Given the array nums, obtain a subsequence of the array whose sum of elements is strictly greater th...

点击数:291 回复数:0

1399. Count Largest Group

作者:sryan 更新时间:2021-03-03 15:59 分类:数据结构与算法

Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return ho...

点击数:315 回复数:0

1394. Find Lucky Integer in an Array

作者:sryan 更新时间:2021-03-03 14:33 分类:数据结构与算法

Given an array of integers arr, a lucky integer is an integer which has a frequency in the array equ...

点击数:300 回复数:0

1389. Create Target Array in the Given Order

作者:sryan 更新时间:2021-03-02 18:51 分类:数据结构与算法

Given two arrays of integers nums and index. Your task is to create target array under the following...

点击数:307 回复数:0