随笔分类 -  算法

任意输入一个日期输出是当年的第几天星期几
摘要:class Program { static void Main(string[] args) { string putDateStr = Console.ReadLine(); DateTime putDate = new DateTime(Int32.Parse(putDateStr.Split 阅读全文

posted @ 2022-01-06 17:13 维尔维尔 阅读(212) 评论(0) 推荐(0)

求一个字符串没有重复字符的最大子串长度
摘要:/// <summary> /// 获取一个字符串的没有重复字符的最大子串长度,比如abcabcbb所求值为abc、bca、cab即为3 /// </summary> /// <param name="args"></param> static void Main(string[] args) { 阅读全文

posted @ 2021-08-19 11:07 维尔维尔 阅读(113) 评论(0) 推荐(1)

数据结构详解
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleApp 阅读全文

posted @ 2021-08-16 21:51 维尔维尔 阅读(113) 评论(0) 推荐(0)

导航