代码改变世界

阅读排行榜

[LeetCode] 289. Game of Life_Medium tag: array

2021-08-21 23:58 by Johnson_强生仔仔, 46 阅读, 收藏,
摘要: 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 阅读全文

[LeetCode] 753. Cracking the Safe_Hard tag: DFS, backtracking

2021-08-19 10:11 by Johnson_强生仔仔, 46 阅读, 收藏,
摘要: There is a safe protected by a password. The password is a sequence of n digits where each digit can be in the range [0, k - 1]. The safe has a peculi 阅读全文

[LeetCode] 158. Read N Characters Given Read4 II - Call multiple times_Hard tag: array, queue

2021-08-09 11:23 by Johnson_强生仔仔, 45 阅读, 收藏,
摘要: Given a file and assume that you can only read the file using a given method read4, implement a method read to read n characters. Your method read may 阅读全文

[LeetCode] 36. Valid Sudoku_Medium tag: Array

2021-06-09 09:40 by Johnson_强生仔仔, 45 阅读, 收藏,
摘要: 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 阅读全文

[LeetCode] 681. Next Closest Time_Medium tag: array, sort

2021-08-10 10:46 by Johnson_强生仔仔, 44 阅读, 收藏,
摘要: Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on how many times a digit 阅读全文
上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 78 下一页