![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codewars
DilicelSten
Data has a better idea.
展开
-
Codewars实战(一)
这是一个好网站,边刷题边补足自己的短板,下面会总结并选取最佳的解题方式,每天大约10道,持续更新!题1 Credit Card MaskYour task is to write a function maskify, which changes all but the last four characters into ‘#’maskify(“4556364607935616”) == “...原创 2019-02-18 15:05:06 · 1463 阅读 · 0 评论 -
Codewars实战(二)
题10 Regex validate PIN codeATM machines allow 4 or 6 digit PIN codes and PIN codes cannot contain anything but exactly 4 digits or exactly 6 digits.validate_pin(“1234”) == Truevalidate_pin(“12345”)...原创 2019-02-19 12:53:29 · 778 阅读 · 0 评论 -
Codewars实战(三)
题17 Weight for weightIt was decided to attribute a “weight” to numbers. The weight of a number will be from now on the sum of its digits.For example 99 will have “weight” 18, 100 will have “weight” ...原创 2019-02-21 13:07:23 · 869 阅读 · 0 评论 -
Codewars实战(四)
题25 Befunge InterpreterYour task is to write a method which will interpret Befunge-93 code! Befunge-93 is a language in which the code is presented not as a series of instructions, but as instruction...原创 2019-05-04 10:11:07 · 692 阅读 · 2 评论