ZhangZhihui's Blog  

2025年3月16日

摘要: According to Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Hort 阅读全文
posted @ 2025-03-16 22:20 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)
 
摘要: Given an m x n matrix, return all elements of the matrix in spiral order. Example 1: Input: matrix = [[1,2,3],[4,5,6],[7,8,9]] Output: [1,2,3,6,9,8,7, 阅读全文
posted @ 2025-03-16 16:52 ZhangZhihuiAAA 阅读(7) 评论(0) 推荐(0)
 
摘要: Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row must contain the dig 阅读全文
posted @ 2025-03-16 15:17 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0)