摘要: 题目如下: Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. 阅读全文
posted @ 2020-02-08 14:26 seyjs 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of t 阅读全文
posted @ 2020-02-08 14:16 seyjs 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the mat 阅读全文
posted @ 2020-02-08 14:11 seyjs 阅读(355) 评论(0) 推荐(0) 编辑