摘要:
leetcode74 【题目】 二维矩阵里找目标值target Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: I 阅读全文
摘要:
【题目】 一个版本出错,后续版本皆错,找到第一个出错的版本 You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of yo 阅读全文
摘要:
【题目】 找到两个数组的相同元素并输出。 Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must be unique and yo 阅读全文
摘要:
【题目】 非负的有序数组中,如果有与target相同的,输出该数位置,如果没有,输出应该将target插到哪个位置 Given a sorted array of distinct integers and a target value, return the index if the target 阅读全文
摘要:
【题目】 对非负数求平方根,不能调用系统自带库 Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digi 阅读全文