12 2021 档案

摘要:On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc 阅读全文
posted @ 2021-12-08 19:40 勇往直前的力量 阅读(48) 评论(0) 推荐(0)
摘要:People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzi 阅读全文
posted @ 2021-12-07 21:14 勇往直前的力量 阅读(45) 评论(0) 推荐(0)
摘要:For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre 阅读全文
posted @ 2021-12-06 22:31 勇往直前的力量 阅读(15) 评论(0) 推荐(0)
摘要:According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insert 阅读全文
posted @ 2021-12-05 23:05 勇往直前的力量 阅读(36) 评论(0) 推荐(0)
摘要:Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is 阅读全文
posted @ 2021-12-03 22:56 勇往直前的力量 阅读(30) 评论(0) 推荐(0)
摘要:Given a sequence of positive integers and another positive integer p. The sequence is said to be a “perfect sequence” if M ⇐ m * p where M and m are t 阅读全文
posted @ 2021-12-02 22:41 勇往直前的力量 阅读(37) 评论(0) 推荐(0)
摘要:Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given {32, 321, 3214, 0229, 87}, we can 阅读全文
posted @ 2021-12-01 23:49 勇往直前的力量 阅读(40) 评论(1) 推荐(1)