ZhangZhihui's Blog  
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 116 下一页

2025年4月1日

摘要: Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. Example 1: Input: nums = [1,2, 阅读全文
posted @ 2025-04-01 19:32 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)
 
摘要: Given two integers n and k, return all possible combinations of k numbers chosen from the range [1, n]. You may return the answer in any order. Exampl 阅读全文
posted @ 2025-04-01 12:09 ZhangZhihuiAAA 阅读(20) 评论(0) 推荐(0)

2025年3月31日

摘要: Given an m x n board of characters and a list of strings words, return all words on the board. Each word must be constructed from letters of sequentia 阅读全文
posted @ 2025-03-31 22:32 ZhangZhihuiAAA 阅读(19) 评论(0) 推荐(0)
 
摘要: A trie (pronounced as "try") or prefix tree is a tree data structure used to efficiently store and retrieve keys in a dataset of strings. There are va 阅读全文
posted @ 2025-03-31 21:36 ZhangZhihuiAAA 阅读(28) 评论(0) 推荐(0)
 
摘要: Design a data structure that supports adding new words and finding if a string matches any previously added string. Implement the WordDictionary class 阅读全文
posted @ 2025-03-31 19:29 ZhangZhihuiAAA 阅读(21) 评论(0) 推荐(0)
 
摘要: 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 阅读(18) 评论(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 阅读(19) 评论(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 阅读(23) 评论(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 阅读(20) 评论(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 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 116 下一页