上一页 1 ··· 243 244 245 246 247 248 249 250 251 ··· 401 下一页
摘要: https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1?view=netframework-4.7.2 Represents a first-in, first-out collection of 阅读全文
posted @ 2019-04-02 23:53 ChuckLu 阅读(184) 评论(0) 推荐(0)
摘要: https://www.geeksforgeeks.org/bfs-vs-dfs-binary-tree/ What are BFS and DFS for Binary Tree? A Tree is typically traversed in two ways: Breadth First T 阅读全文
posted @ 2019-04-02 21:23 ChuckLu 阅读(458) 评论(0) 推荐(0)
摘要: Depth-first search Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the roo 阅读全文
posted @ 2019-04-02 21:10 ChuckLu 阅读(1009) 评论(0) 推荐(0)
摘要: Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree [ 阅读全文
posted @ 2019-04-02 12:54 ChuckLu 阅读(389) 评论(0) 推荐(0)
摘要: How do I check if a type is a subtype OR the type of an object? To check if a type is a subclass of another type in C#, it's easy: typeof (SubClass).I 阅读全文
posted @ 2019-04-01 15:06 ChuckLu 阅读(313) 评论(0) 推荐(0)
摘要: Explanation of the UML arrows Here's some explanations from the Visual Studio 2015 docs: UML Class Diagrams: Reference: https://msdn.microsoft.com/lib 阅读全文
posted @ 2019-03-29 20:13 ChuckLu 阅读(1578) 评论(0) 推荐(0)
摘要: What is the difference between .NET Core and .NET Standard Class Library project types? Answer1 When should we use one over the other? The decision is 阅读全文
posted @ 2019-03-29 16:25 ChuckLu 阅读(574) 评论(0) 推荐(0)
摘要: https://docs.microsoft.com/en-us/dotnet/api/system.io.fileattributes?view=netframework-4.7.2 读取FileAttributes 在桌面新建一个文件file-to-delete.txt,设置只读属性。先删除,然 阅读全文
posted @ 2019-03-29 11:27 ChuckLu 阅读(601) 评论(0) 推荐(0)
摘要: https://csharpindepth.com/Articles/Singleton 懒汉,饿汉,以及双层锁之外 Fourth version - not quite as lazy, but thread-safe without using locks public sealed class 阅读全文
posted @ 2019-03-28 14:28 ChuckLu 阅读(204) 评论(0) 推荐(0)
摘要: http://www.runoob.com/design-pattern/facade-pattern.html 外观模式 外观模式(Facade Pattern)隐藏系统的复杂性,并向客户端提供了一个客户端可以访问系统的接口。这种类型的设计模式属于结构型模式,它向现有的系统添加一个接口,来隐藏系统 阅读全文
posted @ 2019-03-27 19:46 ChuckLu 阅读(306) 评论(0) 推荐(0)
上一页 1 ··· 243 244 245 246 247 248 249 250 251 ··· 401 下一页