上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 98 下一页
摘要: 3w6:第三周程序填空题1 描述 下面程序输出的结果是: 4,6 请填空: 输入无输出4,6样例输入 样例输出 Code: 3w7:第三周程序填空题2 描述 下面程序输出的结果是: 0 5 请填空: 输入无输出05样例输入 样例输出 提示所缺代码具有如下形式: Code: 3w8:第三周程序填空题3 阅读全文
posted @ 2018-12-18 12:44 Veritas_des_Liberty 阅读(1134) 评论(0) 推荐(0) 编辑
摘要: Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k num 阅读全文
posted @ 2018-12-18 11:03 Veritas_des_Liberty 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Write a program to find the nth super ugly number. Super ugly numbers are positive numbers whose all prime factors are in the given prime list primes  阅读全文
posted @ 2018-12-18 09:17 Veritas_des_Liberty 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two 阅读全文
posted @ 2018-12-17 22:39 Veritas_des_Liberty 阅读(457) 评论(0) 推荐(0) 编辑
摘要: Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Example: Input: n = 10 Outpu 阅读全文
posted @ 2018-12-17 21:06 Veritas_des_Liberty 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Given a list of words (without duplicates), please write a program that returns all concatenated words in the given list of words. A concatenated word 阅读全文
posted @ 2018-12-16 17:58 Veritas_des_Liberty 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 958. Check Completeness of a Binary Tree Given a binary tree, determine if it is a complete binary tree. Definition of a complete binary tree from Wik 阅读全文
posted @ 2018-12-16 12:53 Veritas_des_Liberty 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touches the left and top 阅读全文
posted @ 2018-12-15 22:21 Veritas_des_Liberty 阅读(242) 评论(0) 推荐(0) 编辑
摘要: There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to 阅读全文
posted @ 2018-12-14 21:28 Veritas_des_Liberty 阅读(188) 评论(0) 推荐(0) 编辑
摘要: There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to 阅读全文
posted @ 2018-12-13 21:33 Veritas_des_Liberty 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 98 下一页