摘要: Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the sum of all the numbers strictly to th 阅读全文
posted @ 2020-10-30 10:15 CNoodle 阅读(167) 评论(0) 推荐(0)
摘要: In a gold mine grid of size m * n, each cell in this mine has an integer representing the amount of gold in that cell, 0 if it is empty. Return the ma 阅读全文
posted @ 2020-10-30 08:35 CNoodle 阅读(312) 评论(0) 推荐(0)
摘要: You are given an array representing a row of seats where seats[i] = 1 represents a person sitting in the ith seat, and seats[i] = 0 represents that th 阅读全文
posted @ 2020-10-30 00:53 CNoodle 阅读(194) 评论(0) 推荐(0)