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

2025年4月3日

摘要: You are given two integer arrays nums1 and nums2 sorted in non-decreasing order and an integer k. Define a pair (u, v) which consists of one element f 阅读全文
posted @ 2025-04-03 17:44 ZhangZhihuiAAA 阅读(31) 评论(0) 推荐(0)

2025年4月2日

摘要: Suppose LeetCode will start its IPO soon. In order to sell a good price of its shares to Venture Capital, LeetCode would like to work on some projects 阅读全文
posted @ 2025-04-02 21:45 ZhangZhihuiAAA 阅读(15) 评论(0) 推荐(0)
 
摘要: Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in the sorted order 阅读全文
posted @ 2025-04-02 21:00 ZhangZhihuiAAA 阅读(15) 评论(0) 推荐(0)
 
摘要: Given a circular integer array nums of length n, return the maximum possible sum of a non-empty subarray of nums. A circular array means the end of th 阅读全文
posted @ 2025-04-02 16:36 ZhangZhihuiAAA 阅读(21) 评论(0) 推荐(0)
 
摘要: Given an integer array nums, find the subarray with the largest sum, and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Ex 阅读全文
posted @ 2025-04-02 16:21 ZhangZhihuiAAA 阅读(23) 评论(0) 推荐(0)
 
摘要: 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 阅读(17) 评论(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 阅读(15) 评论(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 阅读(18) 评论(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 阅读(27) 评论(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 阅读(30) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 116 下一页