上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: Description: There is an integer array nums sorted in non-decreasing order (not necessarily with distinct values). Before being passed to your functio 阅读全文
posted @ 2021-04-11 15:17 summer_mimi 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Description: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row 阅读全文
posted @ 2021-04-11 11:00 summer_mimi 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Description: Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is no 阅读全文
posted @ 2021-04-10 22:19 summer_mimi 阅读(33) 评论(0) 推荐(0) 编辑
摘要: Description: Given two integers dividend and divisor, divide two integers without using multiplication, division, and mod operator. Return the quotien 阅读全文
posted @ 2021-04-10 20:48 summer_mimi 阅读(29) 评论(0) 推荐(0) 编辑
摘要: Description: There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your function, nums is rotated 阅读全文
posted @ 2021-04-10 18:31 summer_mimi 阅读(25) 评论(0) 推荐(0) 编辑
摘要: Description: You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing 阅读全文
posted @ 2021-04-09 21:33 summer_mimi 阅读(45) 评论(0) 推荐(0) 编辑
摘要: Description: Given a triangle array, return the minimum path sum from top to bottom. For each step, you may move to an adjacent number of the row belo 阅读全文
posted @ 2021-04-08 14:00 summer_mimi 阅读(27) 评论(0) 推荐(0) 编辑
摘要: Description: Given a sorted array nums, remove the duplicates in-place such that each element appears only once and returns the new length. Do not all 阅读全文
posted @ 2021-04-06 20:22 summer_mimi 阅读(47) 评论(0) 推荐(0) 编辑
摘要: Description: Given a string S, check if the letters can be rearranged so that two characters that are adjacent to each other are not the same. If poss 阅读全文
posted @ 2021-04-05 09:03 summer_mimi 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Description:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a 阅读全文
posted @ 2021-04-04 18:53 summer_mimi 阅读(32) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页