LeetCode 73. Set Matrix Zeroes(矩阵清零)

原题网址:https://leetcode.com/problems/set-matrix-zeroes/ Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place....

2016-05-22 05:18:55

阅读数:515

评论数:0

LeetCode 52. N-Queens II(N皇后)

原题网址:https://leetcode.com/problems/n-queens-ii/ Follow up for N-Queens problem. Now, instead outputting board configurations, return the tota...

2016-05-21 06:27:12

阅读数:474

评论数:0

LeetCode 51. N-Queens(N皇后)

原题网址:https://leetcode.com/problems/n-queens/ The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens at...

2016-05-21 06:21:29

阅读数:359

评论数:0

LeetCode 348. Design Tic-Tac-Toe(井字棋)

原题网址:https://leetcode.com/problems/design-tic-tac-toe/ Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assum...

2016-05-18 09:30:28

阅读数:2829

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭