- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 36. Valid Sudoku
Determine if a9x9 Sudoku boardis valid.Only the filled cells need to be validatedaccording to the following rules: Each rowmust contain thedigits1-9without repetition. Each column must conta...
2019-06-30 11:58:40 89
原创 35. Search Insert Position
You may assume no duplicates in the array. Example 1: Input: [1,3,5,6], 5 Output: 2 Example 2: Input: [1,3,5,6], 2 Output: 1 Example 3: Input: [1,3,5,6], 7 Output: 4 Example 4: Input: [...
2019-06-30 10:59:31 118
原创 34. Find First and Last Position of Element in Sorted Array
Given an array of integersnumssorted in ascending order, find the starting and ending position of a giventargetvalue. Your algorithm's runtime complexity must be in the order ofO(logn). If the...
2019-06-30 06:08:06 83
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人