摘要:
问题: 将一组jobs分配给k个人,求完成这些job,最小需要的时间。 Example 1: Input: jobs = [3,2,3], k = 3 Output: 3 Explanation: By assigning each person one job, the maximum time 阅读全文
摘要:
问题: 给定一个数字n 则有一个1,从2~n各个数字两个。 进行排序,使得除了1之外任意两个相同数字直接的距离=数字自己。 得到一个字母序最大的解。 Example 1: Input: n = 3 Output: [3,1,2,3,2] Explanation: [2,3,2,1,3] is als 阅读全文
摘要:
问题: 用a,e,i,o,u构成字符串,前面的字符一定是后面字符的字母序之前。 构成长度为n的字符串,有多少种方法。 Example 1: Input: n = 1 Output: 5 Explanation: The 5 sorted strings that consist of vowels 阅读全文