LeetCode
GH_Loeng
这个作者很懒,什么都没留下…
展开
-
665. Non-decreasing Array
这题难度为简单,目前通过率为20.3%题目:Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element.We define an array is non-decreasing if array[i] <...原创 2018-04-24 18:41:11 · 89 阅读 · 0 评论 -
15. 3Sum
这题难度为中等,目前通过率为21.8%题目:Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:The ...原创 2018-04-24 17:32:47 · 119 阅读 · 0 评论 -
36. Valid Sudoku
这题难度为中等,目前通过率为37.7%题目:Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:1.Each row must contain the digits 1-9 without repetit...原创 2018-04-28 22:55:01 · 116 阅读 · 0 评论 -
37. Sudoku Solver
这题难度为困难,目前通过率为32.2%题目:Write a program to solve a Sudoku puzzle by filling the empty cells.A sudoku solution must satisfy all of the following rules:1.Each of the digits 1-9 must occur exactly ...原创 2018-04-28 23:09:29 · 115 阅读 · 0 评论