codewars
幻梦鸵鸟
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codewars【5】
1.Not very secureIn this example you have to validate if a user input string is alphanumeric.The string has the following conditions to be alphanumeric:At least one character ("" is not valid)Allo...原创 2019-08-13 23:00:37 · 440 阅读 · 0 评论 -
codewars【1】
今天开始记录自己在codewars上遇到的问题和得到的收获。首先是自己已完成的四道题。1.CreditCardMaskUsually when you buy something, you’re asked whether your credit card number, phone number or answer to your most secret question is still...原创 2019-08-10 13:42:47 · 451 阅读 · 0 评论 -
codewars【2】
1.Growth of a PopulationIn a small town the population is p0 = 1000 at the beginning of a year. The populationregularly increases by 2 percent per year and moreover 50 new inhabitants per yearcome ...原创 2019-08-10 23:49:59 · 329 阅读 · 0 评论 -
codewars【3】
1.Count the smiley faces!Given an array (arr) as an argument complete the function countSmileys that should return the total number of smiling faces.Rules for a smiling face:-Each smiley face must ...原创 2019-08-11 23:19:42 · 540 阅读 · 0 评论 -
codewars【4】
1.Mexican WaveIn this simple Kata your task is to create a function that turns a string into a Mexican Wave. You will be passed a string and you must return that string in an array where an uppercase...原创 2019-08-12 21:59:26 · 609 阅读 · 0 评论
分享