05 2022 档案
摘要:Given n pieces of wood with length L[i] (integer array). Cut them into small pieces to guarantee you could have equal or more than k pieces with the s
阅读全文
摘要:A sentence is a string of single-space separated words where each word can contain digits, lowercase letters, and the dollar sign '$'. A word represen
阅读全文
摘要:You are given a 2D integer array stockPrices where stockPrices[i] = [dayi, pricei] indicates the price of the stock on day dayi is pricei. A line char
阅读全文
摘要:Given an array of integers arr, and three integers a, b and c. You need to find the number of good triplets. A triplet (arr[i], arr[j], arr[k]) is goo
阅读全文
摘要:Given a 0-indexed integer array nums, return the number of distinct quadruplets (a, b, c, d) such that: nums[a] + nums[b] + nums[c] == nums[d], and a
阅读全文

浙公网安备 33010602011771号