上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear rep 阅读全文
posted @ 2022-01-05 21:42 勇往直前的力量 阅读(51) 评论(0) 推荐(0)
摘要: Sexy primes are pairs of primes of the form (p, p+6), so-named since "sex" is the Latin word for "six". (Quoted from http://mathworld.wolfram.com/Sexy 阅读全文
posted @ 2022-01-05 21:29 勇往直前的力量 阅读(49) 评论(0) 推荐(0)
摘要: A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes 阅读全文
posted @ 2022-01-05 19:12 勇往直前的力量 阅读(35) 评论(0) 推荐(0)
摘要: A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes 阅读全文
posted @ 2022-01-05 15:33 勇往直前的力量 阅读(29) 评论(0) 推荐(0)
摘要: A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes 阅读全文
posted @ 2022-01-05 11:07 勇往直前的力量 阅读(65) 评论(1) 推荐(0)
摘要: Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following: The number of people in each 阅读全文
posted @ 2022-01-04 21:55 勇往直前的力量 阅读(69) 评论(0) 推荐(0)
摘要: The basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complicated is that some of the input n 阅读全文
posted @ 2022-01-03 21:19 勇往直前的力量 阅读(38) 评论(0) 推荐(0)
摘要: This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is filled in from the fi 阅读全文
posted @ 2022-01-03 20:40 勇往直前的力量 阅读(31) 评论(0) 推荐(0)
摘要: Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the sequence {0.1, 0.2, 0.3, 0.4}, we h 阅读全文
posted @ 2022-01-03 17:19 勇往直前的力量 阅读(82) 评论(0) 推荐(0)
摘要: Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b 阅读全文
posted @ 2022-01-03 11:37 勇往直前的力量 阅读(34) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页