1450. Number of Students Doing Homework at a Given Time

作者:sryan 更新时间:4 天前 分类:数据结构与算法

Given two integer arrays startTime and endTime and given an integer queryTime. The ith student start...

点击数:7 回复数:0

1446. Consecutive Characters

作者:sryan 更新时间:4 天前 分类:数据结构与算法

Given a string s, the power of the string is the maximum length of a non-empty substring that contai...

点击数:6 回复数:0

1441. Build an Array With Stack Operations

作者:sryan 更新时间:4 天前 分类:数据结构与算法

Given an array target and an integer n. In each iteration, you will read a number from list = {1,2,3...

点击数:6 回复数:0

1437. Check If All 1's Are at Least Length K Places Away

作者:sryan 更新时间:4 天前 分类:数据结构与算法

Given an array nums of 0s and 1s and an integer k, return True if all 1's are at least k places away...

点击数:6 回复数:0

1436. Destination City

作者:sryan 更新时间:4 天前 分类:数据结构与算法

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

点击数:5 回复数:0

1431. Kids With the Greatest Number of Candies

作者:sryan 更新时间:4 天前 分类:数据结构与算法

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

点击数:6 回复数:0

1422. Maximum Score After Splitting a String

作者:sryan 更新时间:4 天前 分类:数据结构与算法

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

点击数:6 回复数:0

1417. Reformat The String

作者:sryan 更新时间:4 天前 分类:数据结构与算法

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

点击数:4 回复数:0

1413. Minimum Value to Get Positive Step by Step Sum

作者:sryan 更新时间:4 天前 分类:数据结构与算法

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

点击数:4 回复数:0

1408. String Matching in an Array

作者:sryan 更新时间:5 天前 分类:数据结构与算法

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

点击数:3 回复数:0