摘要: There are 3n piles of coins of varying size, you and your friends will take piles of coins as follows: In each step, you will choose any 3 piles of co 阅读全文
posted @ 2020-08-30 12:41 Schwifty 阅读(221) 评论(0) 推荐(0)
摘要: Your task is to form an integer array nums from an initial array of zeros arr that is the same size as nums. Return the minimum number of function cal 阅读全文
posted @ 2020-08-30 12:11 Schwifty 阅读(213) 评论(0) 推荐(0)
摘要: Given a directed acyclic graph, with n vertices numbered from 0 to n-1, and an array edges where edges[i] = [fromi, toi] represents a directed edge fr 阅读全文
posted @ 2020-08-30 11:07 Schwifty 阅读(290) 评论(0) 推荐(0)
摘要: Given an integer n, add a dot (".") as the thousands separator and return it in string format. Example 1: Input: n = 987 Output: "987" Example 2: Inpu 阅读全文
posted @ 2020-08-30 09:24 Schwifty 阅读(320) 评论(0) 推荐(0)
摘要: Given an array of integers A, We need to sort the array performing a series of pancake flips. In one pancake flip we do the following steps: Choose an 阅读全文
posted @ 2020-08-30 06:14 Schwifty 阅读(163) 评论(0) 推荐(0)