1437. Check If All 1’s Are at Least Length K Places Away-是否所有 1 都至少相隔 k 个元素
Given an array nums of 0s and 1s and an integer k, retu... » 阅读全文
Given an array nums of 0s and 1s and an integer k, retu... » 阅读全文
You are given the array paths, where paths[i] = [cityAi... » 阅读全文
Given the array candies and the integer extraCandies, w... » 阅读全文
Given a string s of zeros and ones, return the maximum ... » 阅读全文
Given alphanumeric string s. (Alphanumeric string is a ... » 阅读全文
Given an array of integers nums, you start with an init... » 阅读全文
Given an array of string words. Return all strings in w... » 阅读全文
Given the array nums, obtain a subsequence of the array... » 阅读全文
Given an integer n. Each number from 1 to n is grouped ... » 阅读全文
Given an array of integers arr, a lucky integer is an i... » 阅读全文