haizzh

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  Algorithms

摘要:class Program { static void Main(string[] args) { List<int> c = new List<int>() { 1, 2, 3, 4, 5 }; c.Sort(); var result = getNumber(c, 27423536); Cons 阅读全文
posted @ 2017-01-03 14:11 haizzh 阅读(271) 评论(0) 推荐(0)

摘要:class Program { static void Main(string[] args) { getPairs(3, 0, 0, 1, ""); Console.ReadKey(); } private static void getPairs(int close, ... 阅读全文
posted @ 2017-01-03 14:08 haizzh 阅读(166) 评论(0) 推荐(0)

摘要:class Program { static void Main(string[] args) { string testStr = "sdfadfdsfadfdsfsdf"; int length = testStr.Length; while (length > 1) ... 阅读全文
posted @ 2016-12-08 13:20 haizzh 阅读(219) 评论(0) 推荐(0)