上一页 1 ··· 368 369 370 371 372 373 374 375 376 ··· 399 下一页
摘要: Find the capitalsDescription:InstructionsWrite a function that takes a single string (word) as argument. The function must return an ordered list cont... 阅读全文
posted @ 2015-07-05 18:48 ChuckLu 阅读(266) 评论(0) 推荐(0)
摘要: Area of a CircleDescription:Complete the functioncircleAreaso that it will return the area of a circle with the givenradius. Round the returned number... 阅读全文
posted @ 2015-07-05 17:55 ChuckLu 阅读(490) 评论(0) 推荐(0)
摘要: SequenceSumSum of 'n' Numberssum_of_n(orSequenceSum.sumOfNin Java,SequenceSum.SumOfNin C#) takes an integernand returns aList(anArrayin Java/C#) of le... 阅读全文
posted @ 2015-07-05 14:18 ChuckLu 阅读(336) 评论(0) 推荐(0)
摘要: shorter concat [reverse longer]Description:Given 2 strings,aandb, return a string of the form:shorter+reverse(longer)+shorter.In other words, the shor... 阅读全文
posted @ 2015-07-05 13:46 ChuckLu 阅读(312) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2015-07-05 13:18 ChuckLu 阅读(510) 评论(0) 推荐(0)
摘要: 源自 Difference between String.Join() vs String.Concat() With .NET 4.0, String.Join() uses StringBuilder class internally so it is more efficient.Wherea 阅读全文
posted @ 2015-07-05 13:03 ChuckLu 阅读(1607) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2015-07-05 01:39 ChuckLu 阅读(385) 评论(0) 推荐(0)
摘要: 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 ... 阅读全文
posted @ 2015-07-05 00:51 ChuckLu 阅读(347) 评论(0) 推荐(0)
摘要: http://www.codewars.com/kata/54ff3102c1bad923760001f3/solutions/csharp判断给定的字符串有多少个a e i o uusing System;using System.Linq;public static class Kata{ ... 阅读全文
posted @ 2015-07-03 20:56 ChuckLu 阅读(435) 评论(0) 推荐(0)
摘要: Project Euler 85: Investigating the number of rectangles in a rectangular gridNumber of Rectangles in a GridGiven a grid of size m x n, calculate the ... 阅读全文
posted @ 2015-07-03 19:21 ChuckLu 阅读(261) 评论(0) 推荐(0)
上一页 1 ··· 368 369 370 371 372 373 374 375 376 ··· 399 下一页