摘要: Find Smallest Letter Greater Than Target You are given an array of characters letters that is sorted in non-decreasing order, and a character target. 阅读全文
posted @ 2023-03-31 19:54 iyiluo 阅读(20) 评论(0) 推荐(0)
摘要: Find Pivot Index 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 numbe 阅读全文
posted @ 2023-03-31 19:54 iyiluo 阅读(31) 评论(0) 推荐(0)
摘要: Prime Number of Set Bits in Binary Representation Given two integers left and right, return the count of numbers in the inclusive range [left, right] 阅读全文
posted @ 2023-03-31 19:53 iyiluo 阅读(20) 评论(0) 推荐(0)
摘要: Maximize Sum Of Array After K Negations Given an integer array nums and an integer k, modify the array in the following way: choose an index i and rep 阅读全文
posted @ 2023-03-31 19:53 iyiluo 阅读(27) 评论(0) 推荐(0)
摘要: Flood Fill An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image. You are also given three 阅读全文
posted @ 2023-03-31 19:53 iyiluo 阅读(18) 评论(0) 推荐(0)