摘要:
Description:In this kata you should simply determine, whether a given year is a leap year or not. In case you don't know the rules, here they are:year... 阅读全文
摘要:
Find the capitalsDescription:InstructionsWrite a function that takes a single string (word) as argument. The function must return an ordered list cont... 阅读全文
摘要:
Area of a CircleDescription:Complete the functioncircleAreaso that it will return the area of a circle with the givenradius. Round the returned number... 阅读全文
摘要:
SequenceSumSum of 'n' Numberssum_of_n(orSequenceSum.sumOfNin Java,SequenceSum.SumOfNin C#) takes an integernand returns aList(anArrayin Java/C#) of le... 阅读全文
摘要:
shorter concat [reverse longer]Description:Given 2 strings,aandb, return a string of the form:shorter+reverse(longer)+shorter.In other words, the shor... 阅读全文
摘要:
Descending OrderDescription:Your task is to make a function that can take any non-negative integer as a argument and return it with it's digits in des... 阅读全文
摘要:
源自 Difference between String.Join() vs String.Concat() With .NET 4.0, String.Join() uses StringBuilder class internally so it is more efficient.Wherea 阅读全文
摘要:
254 shades of greyDescription:Why would we want to stop to only 50 shades of grey? Let's see to how many we can go.Write a function that takes a numbe... 阅读全文
摘要:
Where is Vasya?Vasya stands in line with number of peoplep (including Vasya), but he doesn't know exactly which position he occupies. He can say that ... 阅读全文