摘要:
题目如下: The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid ou 阅读全文
posted @ 2019-03-11 10:20
seyjs
阅读(206)
评论(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 concatenate 阅读全文
posted @ 2019-03-11 10:06
seyjs
阅读(291)
评论(0)
推荐(0)
摘要:
题目如下: In a row of dominoes, A[i] and B[i] represent the top and bottom halves of the i-th domino. (A domino is a tile with two numbers from 1 to 6 - o 阅读全文
posted @ 2019-03-11 09:59
seyjs
阅读(701)
评论(0)
推荐(0)
摘要:
题目如下: Normally, the factorial of a positive integer n is the product of all positive integers less than or equal to n. For example, factorial(10) = 10 阅读全文
posted @ 2019-03-11 09:51
seyjs
阅读(380)
评论(0)
推荐(0)
摘要:
题目如下: Given an array A of integers, we must modify the array in the following way: we choose an i and replace A[i]with -A[i], and we repeat this proce 阅读全文
posted @ 2019-03-11 09:46
seyjs
阅读(273)
评论(0)
推荐(0)
浙公网安备 33010602011771号