摘要: Find the Distance Value Between Two Arrays Given two integer arrays arr1 and arr2, and the integer d, return the distance value between the two arrays 阅读全文
posted @ 2023-03-24 19:59 iyiluo 阅读(22) 评论(0) 推荐(0)
摘要: Check If All 1's Are at Least Length K Places Away Given an binary array nums and an integer k, return true if all 1's are at least k places away from 阅读全文
posted @ 2023-03-24 19:59 iyiluo 阅读(21) 评论(0) 推荐(0)
摘要: Number of Students Doing Homework at Given Time Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started 阅读全文
posted @ 2023-03-24 19:58 iyiluo 阅读(21) 评论(0) 推荐(0)
摘要: Running Sum of 1d Array Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum of nu 阅读全文
posted @ 2023-03-24 19:58 iyiluo 阅读(19) 评论(0) 推荐(0)