摘要:
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated b... 阅读全文
posted @ 2014-06-05 14:26
南郭子綦
阅读(4049)
评论(3)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/valid-sudoku/题意:Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could b... 阅读全文
posted @ 2014-06-05 13:44
南郭子綦
阅读(4124)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the... 阅读全文
posted @ 2014-06-05 12:11
南郭子綦
阅读(2926)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/anagrams/题意:Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be i... 阅读全文
posted @ 2014-06-05 11:39
南郭子綦
阅读(5024)
评论(3)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/spiral-matrix-ii/题意:Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.... 阅读全文
posted @ 2014-06-05 11:06
南郭子綦
阅读(2155)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/spiral-matrix/题意:Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral orde... 阅读全文
posted @ 2014-06-05 10:46
南郭子綦
阅读(4207)
评论(1)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/word-search/题意:Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from... 阅读全文
posted @ 2014-06-05 10:23
南郭子綦
阅读(5513)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/merge-sorted-array/题意:Given two sorted integer arrays A and B, merge B into A as one sorted array.解题思路:归并排序的归并这一... 阅读全文
posted @ 2014-06-05 09:58
南郭子綦
阅读(4109)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/set-matrix-zeroes/题意:Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.解题... 阅读全文
posted @ 2014-06-05 09:53
南郭子綦
阅读(2794)
评论(0)
推荐(0)

浙公网安备 33010602011771号