![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codewars
拾壹�
这个作者很懒,什么都没留下…
展开
-
小白的自我救赎:今日codewars
题目:Complete the function scramble(str1, str2) that returns true if a portion of str1 characters can be rearranged to match str2, otherwise returns false.Notes:Only lower case letters will be used ...原创 2020-03-04 13:40:27 · 480 阅读 · 0 评论 -
小白的自我救赎:今日份codewars
今天一天的课…练的可能会少点题目:The museum of incredible dull thingsThe museum of incredible dull things wants to get rid of some exhibitions. Miriam, the interior architect, comes up with a plan to remove the mo...原创 2020-03-03 23:10:02 · 303 阅读 · 0 评论 -
小白的自我救赎:Codewars第三天
题目:An isogram is a word that has no repeating letters, consecutive or non-consecutive. Implement a function that determines whether a string that contains only letters is an isogram. Assume the empty...原创 2020-02-28 17:24:43 · 190 阅读 · 0 评论 -
小白的自我救赎:Codewars第二天
题目:Welcome. In this kata you are required to, given a string, replace every letter with its position in the alphabet. If anything in the text isn’t a letter, ignore it and don’t return it. a being 1,...原创 2020-02-27 17:14:05 · 180 阅读 · 0 评论 -
小白的自我救赎:Codewars第二天
题目:Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitalized...原创 2020-02-27 15:08:00 · 118 阅读 · 0 评论 -
小白的自我救赎:Codewars第二天
继续做题题目如下:You are going to be given a word. Your job is to return the middle character of the word. If the word’s length is odd, return the middle character. If the word’s length is even, return the ...原创 2020-02-27 14:07:37 · 246 阅读 · 0 评论 -
小白的自我救赎:Codewars第二天
上一道题之后迎来的是一道相对简单的判断三边是否可以组成三角形的问题,之所以说它简单,是因为我居然都会emmmmm,不过还是有更高级的写法,先来看一下题目:Implement a method that accepts 3 integer values a, b, c. The method should return true if a triangle can be built with th...原创 2020-02-27 13:32:35 · 128 阅读 · 0 评论 -
小白的自我救赎:Codewars第二天
题目:Trolls are attacking your comment section!A common way to deal with this situation is to remove all of the vowels from the trolls’ comments, neutralizing the threat.Your task is to write a funct...原创 2020-02-27 13:25:48 · 172 阅读 · 0 评论