ZhangZhihui's Blog  
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 102 下一页

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)

2025年3月15日

摘要: Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicat 阅读全文
posted @ 2025-03-15 17:31 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0)
 
摘要: You are given a string s and an array of strings words. All the strings of words are of the same length. A concatenated string is a string that exactl 阅读全文
posted @ 2025-03-15 16:03 ZhangZhihuiAAA 阅读(34) 评论(0) 推荐(0)
 
摘要: Given a string s, find the length of the longest substring without duplicate characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The a 阅读全文
posted @ 2025-03-15 11:48 ZhangZhihuiAAA 阅读(20) 评论(0) 推荐(0)
 
摘要: Given an array of positive integers nums and a positive integer target, return the minimal length of a subarray whose sum is greater than or equal to  阅读全文
posted @ 2025-03-15 01:29 ZhangZhihuiAAA 阅读(20) 评论(0) 推荐(0)

2025年3月14日

摘要: Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] 阅读全文
posted @ 2025-03-14 22:54 ZhangZhihuiAAA 阅读(26) 评论(0) 推荐(0)
 
摘要: You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, hei 阅读全文
posted @ 2025-03-14 20:44 ZhangZhihuiAAA 阅读(7) 评论(0) 推荐(0)
 
摘要: Given an array of strings words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right 阅读全文
posted @ 2025-03-14 13:40 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 102 下一页