摘要: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of 阅读全文
posted @ 2019-11-13 16:40 琴影 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-decreasing order. Examp 阅读全文
posted @ 2019-11-13 11:02 琴影 阅读(287) 评论(0) 推荐(0) 编辑