摘要:
原题地址: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... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/valid-sudoku/题意:Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could b... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the... 阅读全文
摘要:
原题地址: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... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/spiral-matrix-ii/题意:Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/spiral-matrix/题意:Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral orde... 阅读全文
摘要:
原题地址: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... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/merge-sorted-array/题意:Given two sorted integer arrays A and B, merge B into A as one sorted array.解题思路:归并排序的归并这一... 阅读全文
摘要:
原题地址: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.解题... 阅读全文