摘要: Description: Write a function 'toWeirdCase' ('weirdcase' in Ruby) that accepts a string, and returns the same string with all even indexed characters 阅读全文
posted @ 2017-08-31 15:57 芒果夏夏 阅读(118) 评论(0) 推荐(0) 编辑
摘要: What is an anagram? Well, two words are anagrams of each other if they both contain the same letters. For example: Write a function that will find all 阅读全文
posted @ 2017-08-30 20:38 芒果夏夏 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Description: You are given an odd length array of integers, in which all of them are the same, except for one single number. Implement the method stra 阅读全文
posted @ 2017-08-29 12:20 芒果夏夏 阅读(232) 评论(0) 推荐(1) 编辑
摘要: Description: Deoxyribonucleic acid (DNA) is a chemical found in the nucleus of cells and carries the "instructions" for the development and functionin 阅读全文
posted @ 2017-08-28 15:18 芒果夏夏 阅读(723) 评论(1) 推荐(1) 编辑
摘要: Description: Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone nu 阅读全文
posted @ 2017-08-28 14:20 芒果夏夏 阅读(324) 评论(0) 推荐(1) 编辑
摘要: Given two arrays of strings a1 and a2 return a sorted array r in lexicographical order of the strings of a1 which are substrings of strings of a2. my 阅读全文
posted @ 2017-08-27 10:19 芒果夏夏 阅读(9291) 评论(0) 推荐(1) 编辑
摘要: Create a function named divisors/Divisors that takes an integer and returns an array with all of the integer's divisors(except for 1 and the number it 阅读全文
posted @ 2017-08-26 12:33 芒果夏夏 阅读(550) 评论(0) 推荐(1) 编辑