DotNetShoutout - Stories tagged with Tree
2
Shouts

Tree Graph Ordered Traversal Level by Level in C#

published 559 days, 13 hours, 48 minutes ago posted by lenielleniel 560 days, 3 hours, 3 minutes ago
Friday, November 11, 2011 2:13:31 AM GMT Thursday, November 10, 2011 12:58:48 PM GMT
Recently as part of a job interview process, I was asked to solve some programming problems. This post shows the solution for one of such problems. Consider a tree of integers. Knowing that its root node is 0, and given its adjacency list as a two dimensional array of integers, write a function that prints out the elements/nodes in order/level by level starting from the root. That is, the root is printed in the first line, elements that can be reached from the root by a path of distance 1 in the second l... (more)
category: How To | clicked: 12 | 1 comment | | source: www.leniel.net
tags: data structures, algorithms, Programming, C#, graph, Parallel Programming, job interview, traversal, Tree, queue
6
Shouts

Building a Tree Class

published 649 days, 18 hours, 41 minutes ago posted by KodefuGuruKodefuGuru 650 days, 1 hour, 15 minutes ago
Friday, August 12, 2011 9:20:11 PM GMT Friday, August 12, 2011 2:46:02 PM GMT
In the article, Lambdas for Junior Developers, I built a TreeNode class with a Find method to demonstrate the use of lambdas. This was merely an example and not something I would actually use without some work. I am going to take the fledgling TreeNode class and work on it as a basis for a tree class library... (more)
category: How To | clicked: 18 | comment | | source: www.kodefuguru.com
tags: Generics, lambda, Fluent, Tree, Interface
4
Shouts

Inline Recursion in ASP.NET Template to Print a Tree’s Node List

published 934 days, 16 hours, 50 minutes ago posted by eladoelado 935 days, 14 hours, 49 minutes ago
Sunday, October 31, 2010 11:11:02 PM GMT Sunday, October 31, 2010 1:12:05 AM GMT
Here’s a neat & clean way to perform a recursion in ASP.NET, inside the .aspx/.ascx file. Suitable for ASP.NET MVC as well as WebForms. No (more)
category: Web Dev | clicked: 6 | comment | | source: devign.me
tags: ASP.NET MVC, Recursion, Tree, ASP.NET