摘要: 题目如下: In an alien language, surprisingly they also use english lowercase letters, but possibly in a different order. The order of the alphabet is some 阅读全文
posted @ 2018-12-09 19:14 seyjs 阅读(730) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers A with even length, return true if and only if it is possible to reorder it such that A[2 * i + 1] = 2 * A[2 * i] for 阅读全文
posted @ 2018-12-09 19:11 seyjs 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 题目如下: We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each stri 阅读全文
posted @ 2018-12-09 19:05 seyjs 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given two integers n and k, you need to construct a list which contains ndifferent positive integers ranging from 1 to n and obeys the following 阅读全文
posted @ 2018-12-09 09:42 seyjs 阅读(188) 评论(0) 推荐(0) 编辑