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

2025年4月2日

摘要: You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list 阅读全文
posted @ 2025-04-02 12:38 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)

2025年4月1日

摘要: Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from letters of sequent 阅读全文
posted @ 2025-04-01 22:00 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)
 
摘要: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3 Output: ["((()))","(() 阅读全文
posted @ 2025-04-01 21:20 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)
 
摘要: The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other. Given an integer n, return th 阅读全文
posted @ 2025-04-01 20:40 ZhangZhihuiAAA 阅读(20) 评论(0) 推荐(0)
 
摘要: Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen nu 阅读全文
posted @ 2025-04-01 20:12 ZhangZhihuiAAA 阅读(19) 评论(0) 推荐(0)
 
摘要: 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 阅读(6) 评论(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 阅读(13) 评论(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 阅读(12) 评论(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 阅读(20) 评论(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 阅读(12) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 102 下一页