上一页 1 ··· 369 370 371 372 373 374 375 376 377 ··· 400 下一页
摘要: 1. Two positive integers i and j are considered to be co-prime if there exists no integer greater than 1 that divides them both.Write a function co-p... 阅读全文
posted @ 2015-07-07 14:14 ChuckLu 阅读(1364) 评论(0) 推荐(0)
摘要: Binary to Text (ASCII) ConversionDescription:Write a function that takes in a binary string and returns the equivalent decoded text (the text is ASCII... 阅读全文
posted @ 2015-07-06 19:51 ChuckLu 阅读(1279) 评论(0) 推荐(0)
摘要: Pizza piecesDescriptionIn her trip to Italy, Elizabeth Gilbert made it her duty to eat perfect pizza. One day, she ordered one for dinner. And then so... 阅读全文
posted @ 2015-07-06 19:06 ChuckLu 阅读(316) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2015-07-05 20:14 ChuckLu 阅读(340) 评论(0) 推荐(0)
摘要: 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 阅读(269) 评论(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 阅读(508) 评论(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 阅读(345) 评论(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 阅读(318) 评论(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 阅读(514) 评论(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 阅读(1617) 评论(0) 推荐(0)
上一页 1 ··· 369 370 371 372 373 374 375 376 377 ··· 400 下一页