随笔分类 -  有意思的题目记录

摘要:Sum of Pairs Given a list of integers and a single sum value, return the first two values (parse from the left please) in order of appearance that add 阅读全文
posted @ 2019-05-23 11:21 liujiekun 阅读(324) 评论(0) 推荐(0)
摘要:有这样一个题目: Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise. For better under 阅读全文
posted @ 2019-05-23 10:59 liujiekun 阅读(526) 评论(0) 推荐(0)
摘要:偶然机会,在codewars上面开始做题,遇到一道有意思的题目,记录一下: 题目是这样的: In this kata, you will write a function that returns the positions and the values of the "peaks" (or loc 阅读全文
posted @ 2019-05-21 17:52 liujiekun 阅读(215) 评论(0) 推荐(0)