摘要: 题目 Write an efficient algorithm that searches for a value target in an m x n integer matrix matrix. This matrix has the following properties: Integers 阅读全文
posted @ 2022-03-11 15:01 frankming 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 题目 There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your function, nums is possibly rotated a 阅读全文
posted @ 2022-03-11 14:31 frankming 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value. If target is not fou 阅读全文
posted @ 2022-03-11 14:16 frankming 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a non-empty array of integers nums, every element appears twice except for one. Find that single one. You must implement a solution with a li 阅读全文
posted @ 2022-03-11 00:02 frankming 阅读(18) 评论(0) 推荐(0) 编辑