摘要: H-Index II Given an array of citations sorted in ascending order (each citation is a non-negative integer) of a researcher, write a function to comput 阅读全文
posted @ 2020-07-23 19:24 十三w~w 阅读(85) 评论(0) 推荐(0) 编辑
摘要: Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find 阅读全文
posted @ 2020-07-23 14:30 十三w~w 阅读(83) 评论(0) 推荐(0) 编辑
摘要: Search a 2D Matrix II Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in 阅读全文
posted @ 2020-07-23 14:08 十三w~w 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Sliding Window Maximum Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You 阅读全文
posted @ 2020-07-23 11:35 十三w~w 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Product of Array Except Self Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all 阅读全文
posted @ 2020-07-23 10:42 十三w~w 阅读(84) 评论(0) 推荐(0) 编辑