摘要:
解法1: 关键词:有序,合并,中位数。 中位数表示左右两边数量相等,如果为奇数则为中间的数,如果是偶数就是中间两数求平均。(需要分奇偶讨论) 有序可以减去很多搜索树枝。 合并是个麻烦事,最直接的思路是直接暴力合并,但这样性能很差。或者说能找到两个集合之间的关系,不用合并是最好的。 从特殊点出发寻找一 阅读全文
posted @ 2021-09-26 17:54
none323
阅读(81)
评论(0)
推荐(0)
摘要:
##从Thread说起 考虑到leetcode上一道题:使用异步编程,依次输出first,second,thrid public class Foo { bool syncFirst = true; bool syncSecond=false; bool syncThird=false; publi 阅读全文
posted @ 2021-09-26 17:53
none323
阅读(61)
评论(0)
推荐(0)
摘要:
访问修饰符: 类 |Members of | Default member accessibility| | | | |enum | public| |class | private| |interface | public| |struct | private| 方法 属性 字段 扩展方法: 要点 阅读全文
posted @ 2021-09-26 17:52
none323
阅读(34)
评论(0)
推荐(0)
摘要:
恢复内容开始 文件类型 MDF files are the data files that hold the data and objects such as tables, indexes, stored procedures and views. LDF files are the transa 阅读全文
posted @ 2021-09-26 17:52
none323
阅读(110)
评论(0)
推荐(0)
摘要:
##基本数据类型 整形数据: | | | | | | | bigint | 8 byte | |int|4 byte| |smallint|2 byte| |tinyint|1 byte| C#定义的整形数据 | | | | | | | long | 8 byte | | ulong | 8 byt 阅读全文
posted @ 2021-09-26 17:52
none323
阅读(58)
评论(0)
推荐(0)

浙公网安备 33010602011771号