上一页 1 ··· 241 242 243 244 245 246 247 248 249 ··· 399 下一页
摘要: 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 阅读(433) 评论(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 阅读(975) 评论(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 阅读(295) 评论(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 阅读(276) 评论(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 阅读(1545) 评论(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 阅读(537) 评论(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 阅读(590) 评论(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 阅读(192) 评论(0) 推荐(0)
摘要: http://www.runoob.com/design-pattern/facade-pattern.html 外观模式 外观模式(Facade Pattern)隐藏系统的复杂性,并向客户端提供了一个客户端可以访问系统的接口。这种类型的设计模式属于结构型模式,它向现有的系统添加一个接口,来隐藏系统 阅读全文
posted @ 2019-03-27 19:46 ChuckLu 阅读(287) 评论(0) 推荐(0)
摘要: https://www.codeproject.com/Articles/36836/Forms-Authentication-and-Role-based-Authorization Problem Space Sad, but true, “Forms authentication in ASP 阅读全文
posted @ 2019-03-27 19:29 ChuckLu 阅读(178) 评论(0) 推荐(0)
上一页 1 ··· 241 242 243 244 245 246 247 248 249 ··· 399 下一页