ZhangZhihui's Blog  
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 102 下一页

2025年3月31日

摘要: A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words beginWord -> s1 -> s2 -> ... -> sk su 阅读全文
posted @ 2025-03-31 16:33 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)
 
摘要: A gene string can be represented by an 8-character long string, with choices from 'A', 'C', 'G', and 'T'. Suppose we need to investigate a mutation fr 阅读全文
posted @ 2025-03-31 11:39 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0)

2025年3月30日

摘要: You are given an n x n integer matrix board where the cells are labeled from 1 to n2 in a Boustrophedon style starting from the bottom left of the boa 阅读全文
posted @ 2025-03-30 22:32 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)
 
摘要: There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i 阅读全文
posted @ 2025-03-30 14:12 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)
 
摘要: You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] and values[i] represent the equa 阅读全文
posted @ 2025-03-30 10:12 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0)

2025年3月28日

摘要: Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in the graph contains a value (int) an 阅读全文
posted @ 2025-03-28 22:04 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)
 
摘要: You are given an m x n matrix board containing letters 'X' and 'O', capture regions that are surrounded: Connect: A cell is connected to adjacent cell 阅读全文
posted @ 2025-03-28 12:06 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0)
 
摘要: Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by wa 阅读全文
posted @ 2025-03-28 08:52 ZhangZhihuiAAA 阅读(21) 评论(0) 推荐(0)

2025年3月27日

摘要: Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node co 阅读全文
posted @ 2025-03-27 23:17 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0)
 
摘要: Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level). Example 1: Input: 阅读全文
posted @ 2025-03-27 21:03 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 102 下一页