摘要: Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row must contain the dig 阅读全文
posted @ 2020-12-17 17:34 diameter 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i 阅读全文
posted @ 2020-12-17 14:55 diameter 阅读(67) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in th 阅读全文
posted @ 2020-12-17 14:22 diameter 阅读(75) 评论(0) 推荐(0) 编辑
摘要: You are given an integer array nums sorted in ascending order, and an integer target. Suppose that nums is rotated at some pivot unknown to you before 阅读全文
posted @ 2020-12-17 10:43 diameter 阅读(86) 评论(0) 推荐(0) 编辑